Searched refs:mailname (Results 1 – 12 of 12) sorted by relevance
/titanic_50/usr/src/cmd/mailx/ |
H A D | usg.local.c | 65 copy(name, copy(maildir, mailname)); in findmail() 69 nstrcpy(mailname, PATHSIZE, cp); in findmail() 70 issysmbox = ismailbox(mailname); in findmail() 73 copy(myname, copy(maildir, mailname)); in findmail() 77 lockname = strrchr(mailname, '/') + 1; in findmail()
|
H A D | quit.c | 152 printf(gettext("Held 1 message in %s\n"), mailname); in quit() 155 mailname); in quit() 286 if ((fbuf = fopen(mailname, "r+")) == NULL) { in writeback() 287 perror(mailname); in writeback() 319 perror(mailname); in writeback() 332 if ((obuf = fopen(mailname, "r+")) == NULL) { in writeback() 333 perror(mailname); in writeback() 346 perror(mailname); in writeback() 360 perror(mailname); in writeback() 363 alter(mailname); in writeback() [all …]
|
H A D | cmd3.c | 248 if (editfile != NOSTR && (*editfile != '/' || mailname[0] != '/')) { in schdir() 267 if (mailname[0] != '/') { in schdir() 268 snprintf(file, sizeof (file), "%s/%s", cwd, mailname); in schdir() 269 nstrcpy(mailname, PATHSIZE, file); in schdir() 819 nstrcpy(oldmailname, sizeof (oldmailname), mailname); in getfilename() 821 cp = savestr(mailname); in getfilename() 823 nstrcpy(mailname, PATHSIZE, oldmailname); in getfilename() 826 nstrcpy(oldmailname, sizeof (oldmailname), mailname); in getfilename() 828 cp = savestr(mailname); in getfilename() 829 nstrcpy(mailname, PATHSIZE, oldmailname); in getfilename()
|
H A D | lex.c | 196 if (name != mailname) in setfile() 197 nstrcpy(mailname, PATHSIZE, name); in setfile() 981 if (((ibuf = fopen(mailname, "r")) == NULL) || in inc() 984 if (strrchr(mailname, '/') == NOSTR) in inc() 988 strrchr(mailname, '/')+1); in inc()
|
H A D | main.c | 386 nstrcpy(origname, PATHSIZE, mailname); in main() 387 editfile = mailname; in main()
|
H A D | init.c | 101 char mailname[PATHSIZE]; /* Name of /var/mail system mailbox */ variable
|
/titanic_50/usr/src/lib/libmail/common/ |
H A D | delempty.c | 51 delempty(mode_t mode, char *mailname) in delempty() argument 69 (void) unlink(mailname); in delempty()
|
/titanic_50/usr/src/lib/libmail/inc/ |
H A D | libmail.h | 62 extern int delempty(mode_t m, char *mailname);
|
/titanic_50/usr/src/cmd/mailx/hdr/ |
H A D | glob.h | 85 extern char mailname[]; /* Name of /var/mail system mailbox */
|
/titanic_50/usr/src/cmd/sh/ |
H A D | msg.c | 130 const char mailname[] = "MAIL"; variable
|
H A D | defs.h | 315 extern const char mailname[];
|
H A D | name.c | 87 (unsigned char *)mailname
|