home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / communic / pcmail / daemon / util.h < prev   
Encoding:
C/C++ Source or Header  |  1994-06-05  |  1.1 KB  |  47 lines

  1. /*++
  2.  
  3. /* NAME
  4.  
  5. /*    util 3
  6.  
  7. /* SUMMARY
  8.  
  9. /*    wrappers around standard library functions
  10.  
  11. /* PROJECT
  12.  
  13. /*    pc-mail
  14.  
  15. /* PACKAGE
  16.  
  17. /*    nfs
  18.  
  19. /* SYNOPSIS
  20.  
  21. /*    #include <stdio.h>
  22.  
  23. /*    #include <pwd.h>
  24.  
  25. /*    #include "util.h"
  26.  
  27. /* DESCRIPTION
  28.  
  29. /* .nf
  30.  
  31.  
  32.  
  33.  /* Anticipate on ANSI-compatible compilers */
  34.  
  35.  
  36.  
  37. #ifdef __STDC__
  38.  
  39. FILE   *u_fopen(struct passwd * user, char *file, char *mode);
  40.  
  41. int     u_unlink(char *file);
  42.  
  43. DIR    *e_opendir(char *path);
  44.  
  45. int     e_chdir(char *path);
  46.  
  47. int     e_fork(void);
  48.  
  49.  
  50.  
  51. #else
  52.  
  53. FILE   *u_fopen();            /* open file, log any errors */
  54.  
  55. int     u_unlink();            /* unlink file, log any errors */
  56.  
  57. DIR    *e_opendir();            /* open directory, log any errors */
  58.  
  59. int     e_chdir();            /* change directory, log any errors */
  60.  
  61. int     e_fork();            /* fork, log any errors */
  62.  
  63.  
  64.  
  65. #endif
  66.  
  67. /* AUTHOR(S)
  68.  
  69. /*    Wietse Z. Venema
  70.  
  71. /*    Eindhoven University of Technology
  72.  
  73. /*    Department of Mathematics and Computer Science
  74.  
  75. /*    Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
  76.  
  77. /* CREATION DATE
  78.  
  79. /*    Sun Oct 29 16:21:02 MET 1989
  80.  
  81. /* LAST MODIFICATION
  82.  
  83. /*    10/29/89 22:29:55
  84.  
  85. /* VERSION/RELEASE
  86.  
  87. /*    1.1
  88.  
  89. /*--*/
  90.  
  91.  
  92.  
  93.