1: /*
   2: ** id_close.c                            Close a connection to an IDENT server
   3: **
   4: ** Author: Peter Eriksson <pen@lysator.liu.se>
   5: */
   6: 
   7: #ifdef NeXT3
   8: #  include <libc.h>
   9: #endif
  10: 
  11: #ifdef HAVE_ANSIHEADERS
  12: #  include <stdlib.h>
  13: #  include <unistd.h>
  14: #endif
  15: 
  16: #define IN_LIBIDENT_SRC
  17: #include "ident.h"
  18: 
  19: int id_close __P1(ident_t *, id)
  20: {
  21:     int res;
  22: 
  23:     res = close(id->fd);
  24:     free(id);
  25: 
  26:     return res;
  27: }

Defined functions

__P1 defined in line 19; never used

Defined variables

id_close defined in line 19; used 6 times

Defined macros

IN_LIBIDENT_SRC defined in line 16; never used
Last modified: 1994-10-20
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2662
Valid CSS Valid XHTML 1.0 Strict