From: Carl Daniel (cpdaniel_at_[hidden])
Date: 2002-03-27 11:57:24
From: "Jan Langer" <jan_at_[hidden]>
> i just looked in my unistd.h (debian/woody) and i see this
> nonstandardized function:
> #ifdef __USE_GNU
> /* Test for access to NAME using the effective UID and GID
> (as normal file operations use). */
> extern int euidaccess (__const char *__name, int __type) __THROW;
> perhaps there are similar things on other platforms. and it is not
> desireable not to provide a function only because posix has no proper
> support for it.
Similar information can be obtained under NT-derived flavors of Windows using the GetNamedSecurityInfo and AccessCheck
functions. It looks like enough of a pain, with enough variables to complicate the process that a one-size-fits-all
solution may not be feasible, let alone practical.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk