home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / unixlib / !UnixLib / src / unix / c / umask < prev    next >
Encoding:
Text File  |  1994-09-30  |  207 b   |  14 lines

  1. static char sccs_id[] = "@(#) umask.c 1.2 " __DATE__ " HJR";
  2.  
  3. /* umask.c (c) Copyright 1990 H.Rogers */
  4.  
  5. #include "sys/unix.h"
  6.  
  7. int
  8. umask (register int cmode)
  9. {
  10.   __u->umask = cmode & 0777;
  11.  
  12.   return (0);
  13. }
  14.