cuserid.3 (7f3dea244c40159a41ab22da77a434d7c5b5e85a) cuserid.3 (c6ff3a1bf74d96278726113478b2c66884aab584)
1.\"
2.\" Copyright (c) 1995 Joerg Wunsch
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 43 unchanged lines hidden (view full) ---

52.Nm cuserid
53gets the user name associated with the effective UID of the current
54process. If the argument
55.Fa s
56is non-NULL, the name is copied to the buffer it points to,
57and that address is being returned. This buffer must provide space
58for at least
59.Em L_cuserid
1.\"
2.\" Copyright (c) 1995 Joerg Wunsch
3.\"
4.\" All rights reserved.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 43 unchanged lines hidden (view full) ---

52.Nm cuserid
53gets the user name associated with the effective UID of the current
54process. If the argument
55.Fa s
56is non-NULL, the name is copied to the buffer it points to,
57and that address is being returned. This buffer must provide space
58for at least
59.Em L_cuserid
60characters. The L_cuserid constant is defined in
60characters.
61The L_cuserid constant is defined in
61.Pa Aq stdio.h .
62
63If
64.Fa s
65is NULL, an internal array is used and its address will be returned.
66.Sh RETURN VALUES
67.Nm cuserid
68returns the address of an array in which the name has been stored.

--- 14 unchanged lines hidden ---
62.Pa Aq stdio.h .
63
64If
65.Fa s
66is NULL, an internal array is used and its address will be returned.
67.Sh RETURN VALUES
68.Nm cuserid
69returns the address of an array in which the name has been stored.

--- 14 unchanged lines hidden ---