🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Paul Eggert Fri, 08 Feb 1991 21:43
How should one test for seteuid()'s existence?
#752
Author: Paul Eggert
Date: Fri, 08 Feb 1991 21:43
14 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads