NetBSD/tools/compat/issetugid.c
bjh21 6619533896 Add a stub issetugid() for platforms that don't have it. For now, we assume
that no host program will be installed set-id, so the stub function always
returns 0.
2002-04-18 15:31:51 +00:00

22 lines
337 B
C

/* $NetBSD: issetugid.c,v 1.1 2002/04/18 15:31:53 bjh21 Exp $ */
/*
* Written by Ben Harris, 2002
* This file is in the Public Domain
*/
#include "config.h"
#if !HAVE_ISSETUGID
int
issetugid(void)
{
/*
* Assume that anything linked against libnbcompat will be installed
* without special privileges.
*/
return 0;
}
#endif