diff options
author | Brian Feldman <green@FreeBSD.org> | 1999-07-19 17:37:42 +0000 |
---|---|---|
committer | Brian Feldman <green@FreeBSD.org> | 1999-07-19 17:37:42 +0000 |
commit | a2dca20711c5e7e0aa67f004b4be38ffc64d66bf (patch) | |
tree | 58735719f0d865571341a9249197c80d65a158f1 /lib/libcompat | |
parent | 18200ad9939855e110b4073dff9fde8e7d05857a (diff) | |
download | src-a2dca20711c5e7e0aa67f004b4be38ffc64d66bf.tar.gz src-a2dca20711c5e7e0aa67f004b4be38ffc64d66bf.zip |
Various cleanups.
Notes
Notes:
svn path=/head/; revision=48904
Diffstat (limited to 'lib/libcompat')
-rw-r--r-- | lib/libcompat/4.4/cuserid.3 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libcompat/4.4/cuserid.3 b/lib/libcompat/4.4/cuserid.3 index 6d25fbafddd5..93da76e8dcad 100644 --- a/lib/libcompat/4.4/cuserid.3 +++ b/lib/libcompat/4.4/cuserid.3 @@ -29,7 +29,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: cuserid.3,v 1.5 1997/02/22 15:06:05 peter Exp $ .\" .Dd April 10, 1995 .Os @@ -53,26 +53,26 @@ The function gets the user name associated with the effective UID of the current process. If the argument .Fa s -is non-zero, the name is copied to the buffer it is pointing to, +is non-NULL, the name is copied to the buffer it points to, and that address is being returned. This buffer must provide space for at least .Em L_cuserid -characters, this constant is defined in +characters. The L_cuserid constant is defined in .Pa Aq stdio.h . If .Fa s -is zero, an internal array is used an its address will be returned. +is NULL, an internal array is used and its address will be returned. .Sh RETURN VALUES .Nm cuserid -returns the address of an array where the name has been stored to. +returns the address of an array in which the name has been stored. If the name associated with the effective UID of the current process could not be found, either a null pointer will be returned, or .Po if .Fa s -is non-zero +is non-NULL .Pc the buffer .Fa s |