diff options
author | ru <ru@FreeBSD.org> | 2000-11-20 14:11:46 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2000-11-20 14:11:46 +0000 |
commit | f7a10404bccd5370cf494e1453a276bbf09b1143 (patch) | |
tree | e5249448ab52cfea6561a527dbe5fa3c83eddaaa /lib/libcompat | |
parent | 55a23507010ea3eabe58edf611fdf921fabc3374 (diff) | |
download | FreeBSD-src-f7a10404bccd5370cf494e1453a276bbf09b1143.zip FreeBSD-src-f7a10404bccd5370cf494e1453a276bbf09b1143.tar.gz |
mdoc(7) police: Nm -> Fn where appropriate.
Diffstat (limited to 'lib/libcompat')
-rw-r--r-- | lib/libcompat/4.1/cftime.3 | 19 | ||||
-rw-r--r-- | lib/libcompat/4.4/cuserid.3 | 9 |
2 files changed, 18 insertions, 10 deletions
diff --git a/lib/libcompat/4.1/cftime.3 b/lib/libcompat/4.1/cftime.3 index 17cdbed..35505bf 100644 --- a/lib/libcompat/4.1/cftime.3 +++ b/lib/libcompat/4.1/cftime.3 @@ -49,21 +49,26 @@ .Fn ascftime "char *s" "const char *format" "const struct tm *tmptr" .Sh DESCRIPTION .Bf -symbolic -The cftime and ascftime functions are made obsolete by strftime(3). +The +.Fn cftime +and +.Fn ascftime +functions are made obsolete by +.Xr strftime 3 . They are available from the compatibility library, libcompat. .Ef .Pp Use of the functions -.Nm cftime +.Fn cftime and -.Nm ascftime +.Fn ascftime is strongly deprecated, since there is no way to check for a buffer overflow condition. Use .Xr strftime 3 instead. -.Nm Ascftime +.Fn Ascftime is almost identical with .Xr strftime 3 , with the only exception there's no parameter to tell about the @@ -75,7 +80,7 @@ if a .Em NULL pointer is given. -.Nm Cftime +.Fn Cftime does the same job, but it first invokes .Xr localtime 3 in order to convert the given @@ -86,9 +91,9 @@ argument. .Sh RETURN VALUES The -.Nm cftime +.Fn cftime and -.Nm ascftime +.Fn ascftime functions return the number of characters written to the output buffer .Fa s , diff --git a/lib/libcompat/4.4/cuserid.3 b/lib/libcompat/4.4/cuserid.3 index cc91bee..db4d760 100644 --- a/lib/libcompat/4.4/cuserid.3 +++ b/lib/libcompat/4.4/cuserid.3 @@ -43,12 +43,15 @@ .Fn cuserid "char *s" .Sh DESCRIPTION .Bf -symbolic -The cuserid function is made obsolete by getpwuid. +The +.Fn cuserid +function is made obsolete by +.Xr getpwuid 3 . It is available from the compatibility library, libcompat. .Ef .Pp The function -.Nm cuserid +.Fn cuserid gets the user name associated with the effective UID of the current process. If the argument .Fa s @@ -64,7 +67,7 @@ If .Fa s is NULL, an internal array is used and its address will be returned. .Sh RETURN VALUES -.Nm cuserid +.Fn cuserid 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 |