Article View: comp.std.unix
Article #752How should one test for seteuid()'s existence?
From: Paul Eggert
Date: Fri, 08 Feb 1991 21:43
Date: Fri, 08 Feb 1991 21:43
14 lines
877 bytes
877 bytes
Submitted-by: eggert@twinsun.uucp (Paul Eggert) I've heard that IEEE will publish a separate supplement to IEEE Std 1003.1 (ISO/IEC 9945-1) that covers seteuid(), among other issues. In the latest draft of this supplement, how should a program test for the existence of seteuid()? Will the following test work? #include <unistd.h> #if _POSIX_VERSION > 199009L ... seteuid() exists ... #endif Volume-Number: Volume 22, Number 119
Technical Details
Message-ID:
<17833@cs.utexas.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!jsqShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!jsq From: eggert@twinsun.uucp (Paul Eggert) Newsgroups: comp.std.unix Subject: How should one test for seteuid()'s existence? Message-ID: <17833@cs.utexas.edu> Date: 8 Feb 91 21:43:19 GMT Sender: jsq@cs.utexas.edu Organization: Twin Sun, Inc Lines: 14 Approved: jsq@cs.utexas.edu (Moderator, John S. Quarterman) X-Submissions: std-unix@uunet.uu.net