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: }

Defined functions

help defined in line 14; used 1 times

Defined variables

sccsid defined in line 2; never used
Last modified: 1986-03-21
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 851
Valid CSS Valid XHTML 1.0 Strict