From 07cc27f5b3c391a52f471b7aed53e697a54a5295 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 11 Sep 2019 13:50:35 -0400 Subject: [PATCH] logname: add man page --- doc/logname.1.scd | 22 ++++++++++++++++++++++ doc/meson.build | 1 + 2 files changed, 23 insertions(+) create mode 100644 doc/logname.1.scd diff --git a/doc/logname.1.scd b/doc/logname.1.scd new file mode 100644 index 0000000..c5c606e --- /dev/null +++ b/doc/logname.1.scd @@ -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. diff --git a/doc/meson.build b/doc/meson.build index 1d5fbeb..440883e 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -12,6 +12,7 @@ man_files = [ 'cmp.1', 'comm.1', 'link.1', + 'logname.1', 'false.1', 'true.1', 'unlink.1', -- 2.26.2