apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Collins-Sussman <suss...@collab.net>
Subject proposal: apr_get_username()
Date Thu, 26 Jul 2001 20:42:55 GMT

I need to get the char *username of the person running the current
process.  I looked in apr_user.h, and see routines for converting
back-and-forth between apr_uid_t and char *username -- but no routines
for fetching either one!

If it's okay with people, I'd like to add apr_get_username().  I can
implement the Unix part by calling getuid().  But somebody else would
need to write the win32 equivalent.

Thoughts?

Mime
View raw message