Lines Matching defs:c
23 * Copyright (c) 1985, 2010, Oracle and/or its affiliates. All rights reserved.
26 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
30 * University Copyright- Copyright (c) 1982, 1986, 1988
59 static FILE *mesedit(FILE *ibuf, FILE *obuf, int c, struct header *hp);
98 register int c, t;
285 c = getc(stdin);
286 ungetc(c, stdin);
287 if (!isspace(c) || c == '\n')
304 if ((c = strlen(linebuf)) > 0) {
305 cp = &linebuf[c-1];
344 c = linebuf[1];
346 switch (c) {
360 if (cp = value(c=='a' ? "sign":"Sign")) {
392 * line to sh -c.
466 case 'c':
598 if (forward(cp, obuf, c) < 0)
688 if ((obuf = mesedit(ibuf, obuf, c, hp)) == NULL)
797 register int c;
803 while ((c = getc(fi)) != EOF) {
805 if (putc(c, fo) == '\n')
835 mesedit(FILE *ibuf, FILE *obuf, int c, struct header *hp)
871 if ((edit = value(c == 'e' ? "EDITOR" : "VISUAL")) == NOSTR ||
873 edit = c == 'e' ? EDITOR : VISUAL;
900 execlp(Shell, Shell, "-c", ecmd, NULL);
992 * Sh -c must return 0 to accept the new message.
1039 execlp(Shell, Shell, "-c", cmd, (char *)0);