diff options
author | green <green@FreeBSD.org> | 1999-07-19 17:37:42 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 1999-07-19 17:37:42 +0000 |
commit | bf4dbef4894724ce16407f33db4bd8c02a610c45 (patch) | |
tree | 8137ed25af0b464eed0ef121b9f2647dfcd7efb3 | |
parent | 1712f41066d09a251d25832c5f7aa28cc5e622ea (diff) | |
download | FreeBSD-src-bf4dbef4894724ce16407f33db4bd8c02a610c45.zip FreeBSD-src-bf4dbef4894724ce16407f33db4bd8c02a610c45.tar.gz |
Various cleanups.
-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 6d25fba..93da76e 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 |