Home
last modified time | relevance | path

Searched refs:editfile (Results 1 – 7 of 7) sorted by relevance

/titanic_41/usr/src/cmd/mailx/
H A Dfio.c521 if ((ibuf = fopen(editfile, "r+")) == NULL) { in edstop()
522 perror(editfile); in edstop()
556 if ((obuf = fopen(editfile, "r+")) == NULL) { in edstop()
557 if ((obuf = fopen(editfile, "w")) == NULL) { in edstop()
558 perror(editfile); in edstop()
566 printf("\"%s\" ", editfile); in edstop()
574 perror(editfile); in edstop()
591 perror(editfile); in edstop()
598 removefile(editfile); in edstop()
H A Dlex.c166 edstop(strcmp(editfile, name) == 0); in setfile()
168 quit(strcmp(editfile, name) == 0); in setfile()
194 editfile = efile; in setfile()
333 stat(editfile, &minfo) >= 0 && in commands()
342 if ((ibuf = fopen(editfile, "r")) == NULL) { in commands()
345 editfile); in commands()
900 if (strncmp(fname, editfile, strlen(fname)) == 0) { in newfileinfo()
902 "+%s", editfile + strlen(fname)); in newfileinfo()
H A Dcmd3.c248 if (editfile != NOSTR && (*editfile != '/' || mailname[0] != '/')) { in schdir()
262 if (editfile != NOSTR && *editfile != '/') { in schdir()
263 snprintf(file, sizeof (file), "%s/%s", cwd, editfile); in schdir()
265 editfile = efile; in schdir()
816 nstrcpy(prevfile, sizeof (prevfile), editfile); in getfilename()
841 nstrcpy(prevfile, sizeof (prevfile), editfile); in getfilename()
848 nstrcpy(prevfile, sizeof (prevfile), editfile); in getfilename()
859 nstrcpy(prevfile, sizeof (prevfile), editfile); in getfilename()
H A Dmain.c387 editfile = mailname; in main()
403 editfile = ef; in main()
407 if (setfile(editfile, edit) < 0) in main()
H A Dinit.c76 char *editfile; /* Name of file being edited */ variable
/titanic_41/usr/src/ucbcmd/vipw/
H A Dvipw.c54 static int editfile(char *, char *, char *, time_t *);
104 if (editfile(editor, ptemp, passwd, &n_mtime)) { in main()
149 if (editfile(editor, stemp, shadow, &o_mtime)) in main()
226 editfile(char *editor, char *temp, char *orig, time_t *mtime) in editfile() function
/titanic_41/usr/src/cmd/mailx/hdr/
H A Dglob.h67 extern char *editfile; /* Name of file being edited */