1: /*
   2:  * Copyright (c) 1980 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: char copyright[] =
   9: "@(#) Copyright (c) 1980 Regents of the University of California.\n\
  10:  All rights reserved.\n";
  11: #endif not lint
  12: 
  13: #ifndef lint
  14: static char sccsid[] = "@(#)makekey.c	5.1 (Berkeley) 6/6/85";
  15: #endif not lint
  16: 
  17: /*
  18:  * You send it 10 bytes.
  19:  * It sends you 13 bytes.
  20:  * The transformation is expensive to perform
  21:  * (a significant part of a second).
  22:  */
  23: 
  24: char    *crypt();
  25: 
  26: main()
  27: {
  28:     char key[8];
  29:     char salt[2];
  30: 
  31:     read(0, key, 8);
  32:     read(0, salt, 2);
  33:     write(1, crypt(key, salt), 13);
  34:     return(0);
  35: }

Defined functions

main defined in line 26; never used

Defined variables

copyright defined in line 8; never used
sccsid defined in line 14; never used
Last modified: 1987-02-18
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2419
Valid CSS Valid XHTML 1.0 Strict