Search Results

Search: Posts Made By: Perderabo
Forum: Programming 11-15-2003
63,758
Posted By Perderabo
Read paragraph 3 of my first post for comments on...
Read paragraph 3 of my first post for comments on getuid(). Hmmm, I see that I said to use getpwnam(). Actually, since we have the uid, we should use getpwuid().

ctermid() is a silly little...
Forum: Programming 11-05-2003
63,758
Posted By Perderabo
Sign on to your system and type the command...
Sign on to your system and type the command "env". I believe that you will find both variables set. At least I see them both on redhat.

And type "man environ". I see them as the first two...
Forum: Programming 10-28-2003
63,758
Posted By Perderabo
The user name will be in the environment and you...
The user name will be in the environment and you can get it with getenv(). The environment variable will be called either USER or LOGNAME. (Posix requires LOGNAME) Whichever variable your system...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 01:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy