1: /*
   2:  * Copyright (c) 1989 Regents of the University of California.
   3:  * All rights reserved.  The Berkeley software License Agreement
   4:  * specifies the terms and conditions for redistribution.
   5:  */
   6: 
   7: #ifndef lint
   8: static char copyright[] = "Copyright (c) 1990 Regents of the University of California.\nAll rights reserved.\n";
   9: static char SccsId[] = "@(#)@(#)pop_user.c	2.1  2.1 3/18/91";
  10: #endif not lint
  11: 
  12: #include <stdio.h>
  13: #include <sys/types.h>
  14: #include <strings.h>
  15: #include "popper.h"
  16: 
  17: /*
  18:  *  user:   Prompt for the user name at the start of a POP session
  19:  */
  20: 
  21: int pop_user (p)
  22: POP     *   p;
  23: {
  24:     /*  Save the user name */
  25:     (void)strcpy(p->user, p->pop_parm[1]);
  26: 
  27:     /*  Tell the user that the password is required */
  28:     return (pop_msg(p,POP_SUCCESS,"Password required for %s.",p->user));
  29: }

Defined functions

pop_user defined in line 21; used 1 times

Defined variables

SccsId defined in line 9; never used
copyright defined in line 8; never used
Last modified: 1991-04-04
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2491
Valid CSS Valid XHTML 1.0 Strict