Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include <unistd.h>
  3. #include <errno.h>
  4.  
  5. /* ARGSUSED */
  6. int
  7. setpgid(pid_t _pid, pid_t _pgid)
  8. {
  9.   if (_pgid != getpid())
  10.   {
  11.     errno = EPERM;
  12.     return -1;
  13.   }
  14.   return 0;
  15. }
  16.