* Copyright (c) 1991 The Regents of the University of California.
* %sccs.include.redist.c%
"@(#) Copyright (c) 1991 The Regents of the University of California.\n\
static char sccsid
[] = "@(#)logname.c 5.1 (Berkeley) %G%";
while ((ch
= getopt(argc
, argv
, "")) != EOF
)
if ((p
= getlogin()) == NULL
) {
(void)fprintf(stderr
, "logname: %s\n", strerror(errno
));
(void)fprintf(stderr
, "usage: logname\n");