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

  1. static char sccs_id[] = "@(#) nice.c 1.2 " __DATE__ " HJR";
  2.  
  3. /* nice.c (c) Copyright 1990 H.Rogers */
  4.  
  5. #include <errno.h>
  6.  
  7. #include "sys/unix.h"
  8.  
  9. int
  10. nice (register int incr)
  11. {
  12.   if (incr < 0)
  13.     {
  14.       errno = EPERM;
  15.       return (-1);
  16.     }
  17.   return (0);
  18. }
  19.