Annotation of 43BSD/contrib/nntp/server/help.c, revision 1.1.1.1

1.1       root        1: #ifndef lint
                      2: static char    *sccsid = "@(#)help.c   1.3     (Berkeley) 3/5/86";
                      3: #endif
                      4: 
                      5: #include "common.h"
                      6: 
                      7: /*
                      8:  * HELP
                      9:  *
                     10:  * Provide a naive user with a brief help message.
                     11:  *
                     12:  */
                     13: 
                     14: help(argc, argv)
                     15: int    argc;
                     16: char   *argv[];
                     17: {
                     18:        printf("%d This server accepts the following commands:\r\n", INF_HELP);
                     19:        printf("ARTICLE     BODY         GROUP\r\n");
                     20:        printf("HEAD        LAST         LIST\r\n");
                     21:        printf("NEXT        POST         QUIT\r\n");
                     22:        printf("STAT        NEWGROUPS    HELP\r\n");
                     23:        printf("IHAVE       NEWNEWS      SLAVE\r\n");
                     24:        printf("Bugs to %s\r\n", BUGS_TO);
                     25:        printf(".\r\n");
                     26:        (void) fflush(stdout);
                     27: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.