home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / std_unix / volume.22 / text0115.txt < prev    next >
Encoding:
Text File  |  1991-03-06  |  441 b   |  16 lines

  1. Submitted-by: eggert@twinsun.uucp (Paul Eggert)
  2.  
  3. I've heard that IEEE will publish a separate supplement to IEEE Std 1003.1
  4. (ISO/IEC 9945-1) that covers seteuid(), among other issues.  In the latest
  5. draft of this supplement, how should a program test for the existence of
  6. seteuid()?  Will the following test work?
  7.  
  8.     #include <unistd.h>
  9.  
  10.     #if _POSIX_VERSION > 199009L
  11.         ... seteuid() exists ...
  12.     #endif
  13.  
  14. Volume-Number: Volume 22, Number 119
  15.  
  16.