~sircmpwn/ctools

07cc27f5b3c391a52f471b7aed53e697a54a5295 — Drew DeVault 1 year, 2 months ago 757f8ea
logname: add man page
2 files changed, 23 insertions(+), 0 deletions(-)

A doc/logname.1.scd
M doc/meson.build
A doc/logname.1.scd => doc/logname.1.scd +22 -0
@@ 0,0 1,22 @@
logname(1) "ctools"

# NAME

logname - print the name of the login user

# SYNOPSIS

*logname*

# DESCRIPTION

*logname* prints the name of the login user to _stdout_. However, this is
reliant upon the behavior of the *getlogin*(3), which is notoriously
unreliable. You may wish to use *id*(1) instead.

# DISCLAIMER

This command is part of ctools and is compatible with POSIX-1.2017, and may
optionally support XSI extensions. This man page is not intended to be a
complete reference, and where it disagrees with the specification, the
specification takes precedence.

M doc/meson.build => doc/meson.build +1 -0
@@ 12,6 12,7 @@ man_files = [
	'cmp.1',
	'comm.1',
	'link.1',
	'logname.1',
	'false.1',
	'true.1',
	'unlink.1',