.\" openfwtk project: mapuid.3 1-Nov-2000 .TH mapuid 3 .SH NAME mapuid() \- getpwnam frontend .SH SYNOPSIS .nf #include "fwfunc.h" .fi .sp int \fBmapuid\fP(char *user) .SH DESCRIPTION The \fImapuid\fP function coverts character user name to integer value. .SH RETURN VALUES The \fImapuid\fP function returns atoi(3) of \fIuser\fP if it is all-digit, user id if it is not, -1 if user does not exist. .SH SEE ALSO getpwnam(3) .SH HISTORY present in fwtk since v1