.th LOGINFO II 5/31/77 .sh NAME logname, logdir, logtty, logpost \*- login information .sh SYNOPSIS .bd "char *logname(), *logdir(), *logtty();" .br .bd "logpost(buf)" .br .bd "char *buf;" .sh DESCRIPTION .it Logname returns a pointer to the null-terminated login name (fits in 8 characters). .s3 .it Logdir returns a pointer to the null-terminated login directory pathname (fits in 22 char). .s3 .it Logtty returns a pointer to the tty letter. .s3 These data are created by .it login\^\c (I) using the function .it logpost which is executable only by the super-user. .s3 This function is kept in the .bd \-lPW library. .sh "SEE ALSO" login(I), udata(II) .sh DIAGNOSTICS Same as for .it udata\^\c (II).