Searched refs:mailname (Results 1 – 12 of 12) sorted by relevance
/illumos-gate/usr/src/cmd/mailx/ |
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 | usg.local.c | 63 copy(name, copy(maildir, mailname)); in findmail() 67 nstrcpy(mailname, PATHSIZE, cp); in findmail() 68 issysmbox = ismailbox(mailname); in findmail() 71 copy(myname, copy(maildir, mailname)); in findmail() 75 lockname = strrchr(mailname, '/') + 1; in findmail()
|
H A D | cmd3.c | 246 if (editfile != NOSTR && (*editfile != '/' || mailname[0] != '/')) { in schdir() 265 if (mailname[0] != '/') { in schdir() 266 snprintf(file, sizeof (file), "%s/%s", cwd, mailname); in schdir() 267 nstrcpy(mailname, PATHSIZE, file); in schdir() 817 nstrcpy(oldmailname, sizeof (oldmailname), mailname); in getfilename() 819 cp = savestr(mailname); in getfilename() 821 nstrcpy(mailname, PATHSIZE, oldmailname); in getfilename() 824 nstrcpy(oldmailname, sizeof (oldmailname), mailname); in getfilename() 826 cp = savestr(mailname); in getfilename() 827 nstrcpy(mailname, PATHSIZE, oldmailname); in getfilename()
|
H A D | lex.c | 195 if (name != mailname) in setfile() 196 nstrcpy(mailname, PATHSIZE, name); in setfile() 965 if (((ibuf = fopen(mailname, "r")) == NULL) || in inc() 968 if (strrchr(mailname, '/') == NOSTR) in inc() 972 strrchr(mailname, '/')+1); in inc()
|
H A D | main.c | 387 nstrcpy(origname, PATHSIZE, mailname); in main() 388 editfile = mailname; in main()
|
H A D | init.c | 99 char mailname[PATHSIZE]; /* Name of /var/mail system mailbox */ variable
|
/illumos-gate/usr/src/lib/libmail/common/ |
H A D | delempty.c | 49 delempty(mode_t mode, char *mailname) in delempty() argument 67 (void) unlink(mailname); in delempty()
|
/illumos-gate/usr/src/lib/libmail/inc/ |
H A D | libmail.h | 60 extern int delempty(mode_t m, char *mailname);
|
/illumos-gate/usr/src/cmd/mailx/hdr/ |
H A D | glob.h | 85 extern char mailname[]; /* Name of /var/mail system mailbox */
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | msg.c | 128 const char mailname[] = "MAIL"; variable
|
H A D | defs.h | 315 extern const char mailname[];
|
H A D | name.c | 87 (unsigned char *)mailname
|