Real name of user

Blair P. Houghton bph at buengc.BU.EDU
Fri Oct 6 15:22:53 AEST 1989


In article <1876 at draken.nada.kth.se> larss at nada.kth.se (Lars Schylberg) writes:
>I'm looking for a c-routine under UNIX environment that
>could give the real name of the user [...]

Try getpwent().  Available in a <pwd.h> near you.

				--Blair
				  "Ya wanna grab a six
				   of Diet Coke while
				   yer there?"



More information about the Comp.unix.questions mailing list