The UNIX and Linux Forums
>
Top Forums
>
High Level Programming
Regarding cuserid() function in 'C'
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Regarding cuserid() function in 'C'
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
07-23-2008
fpmurphy
Moderator
Join Date: Dec 2003
Location: Florida
Posts: 1,930
Are you including the required headers for getlogin() and/or getpwuid()?
getlogin() requires <unistd.h>
getpwuid() requires <sys/types.h> and <pwd.h>
fpmurphy
View Public Profile
Visit fpmurphy's homepage!
Find all posts by fpmurphy
Find fpmurphy's past nominations received
Find fpmurphy's present nominations given