Home
last modified time | relevance | path

Searched refs:mailname (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/mailx/
H A Dquit.c152 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 Dusg.local.c63 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 Dcmd3.c246 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 Dlex.c195 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 Dmain.c387 nstrcpy(origname, PATHSIZE, mailname); in main()
388 editfile = mailname; in main()
H A Dinit.c99 char mailname[PATHSIZE]; /* Name of /var/mail system mailbox */ variable
/illumos-gate/usr/src/lib/libmail/common/
H A Ddelempty.c49 delempty(mode_t mode, char *mailname) in delempty() argument
67 (void) unlink(mailname); in delempty()
/illumos-gate/usr/src/lib/libmail/inc/
H A Dlibmail.h60 extern int delempty(mode_t m, char *mailname);
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Dglob.h85 extern char mailname[]; /* Name of /var/mail system mailbox */
/illumos-gate/usr/src/cmd/sh/
H A Dmsg.c128 const char mailname[] = "MAIL"; variable
H A Ddefs.h315 extern const char mailname[];
H A Dname.c87 (unsigned char *)mailname