Searched refs:editfile (Results 1 - 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/mailx/hdr/ |
H A D | glob.h | 67 extern char *editfile; /* Name of file being edited */
|
/illumos-gate/usr/src/ucbcmd/vipw/ |
H A D | vipw.c | 54 static int editfile(char *, char *, char *, time_t *); 104 if (editfile(editor, ptemp, passwd, &n_mtime)) { 149 if (editfile(editor, stemp, shadow, &o_mtime)) 226 editfile(char *editor, char *temp, char *orig, time_t *mtime) function
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | fio.c | 521 if ((ibuf = fopen(editfile, "r+")) == NULL) { 522 perror(editfile); 556 if ((obuf = fopen(editfile, "r+")) == NULL) { 557 if ((obuf = fopen(editfile, "w")) == NULL) { 558 perror(editfile); 566 printf("\"%s\" ", editfile); 574 perror(editfile); 591 perror(editfile); 598 removefile(editfile);
|
H A D | lex.c | 166 edstop(strcmp(editfile, name) == 0); 168 quit(strcmp(editfile, name) == 0); 194 editfile = efile; 333 stat(editfile, &minfo) >= 0 && 342 if ((ibuf = fopen(editfile, "r")) == NULL) { 345 editfile); 900 if (strncmp(fname, editfile, strlen(fname)) == 0) { 902 "+%s", editfile + strlen(fname));
|
H A D | init.c | 76 char *editfile; /* Name of file being edited */ variable
|
H A D | main.c | 387 editfile = mailname; 403 editfile = ef; 407 if (setfile(editfile, edit) < 0)
|
H A D | cmd3.c | 248 if (editfile != NOSTR && (*editfile != '/' || mailname[0] != '/')) { 262 if (editfile != NOSTR && *editfile != '/') { 263 snprintf(file, sizeof (file), "%s/%s", cwd, editfile); 265 editfile = efile; 816 nstrcpy(prevfile, sizeof (prevfile), editfile); 841 nstrcpy(prevfile, sizeof (prevfile), editfile); 848 nstrcpy(prevfile, sizeof (prevfile), editfile); 859 nstrcpy(prevfile, sizeof (prevfile), editfile); [all...] |
Completed in 152 milliseconds