home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
TELECOM
/
OSKBox.lzh
/
MAILBOX
/
CC
/
dirdump.c
< prev
next >
Wrap
C/C++ Source or Header
|
1988-06-09
|
321b
|
19 lines
#include <stdio.h>
#include "mailbox.h"
struct userstruct user;
main (argc, argv)
char *argv[];
{
struct msg_header *head;
chdir (HOME);
strcpy (user.uscall, "SYSOP");
user.usopt = ISSUPER;
open_mail ();
head = next_mail (is_num, atoi (argv[1]));
write (1, head, sizeof (struct msg_header));
close_mail ();
}