summaryrefslogtreecommitdiff
path: root/doc/ref/posix.texi
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2010-11-18 11:15:16 +0100
committerAndy Wingo <wingo@pobox.com>2010-11-18 11:15:16 +0100
commitcd28785f799d76fc242224b032b67a31346cf539 (patch)
tree283475743fcbd5c3534b52adcfc541e0d9f9dd1f /doc/ref/posix.texi
parente75184d5d2cddfc6feea40989e23c609b17a6053 (diff)
downloadguile-cd28785f799d76fc242224b032b67a31346cf539.tar.gz
deprecate cuserid
* libguile/posix.c: * libguile/posix.h: * libguile/deprecated.h: * libguile/deprecated.c (scm_cuserid): Deprecate cuserid, as it only returns 8 bytes of a user's login. * doc/ref/posix.texi: Remove cuserid from docs.
Diffstat (limited to 'doc/ref/posix.texi')
-rw-r--r--doc/ref/posix.texi13
1 files changed, 1 insertions, 12 deletions
diff --git a/doc/ref/posix.texi b/doc/ref/posix.texi
index b237002c7..3499404f1 100644
--- a/doc/ref/posix.texi
+++ b/doc/ref/posix.texi
@@ -1112,18 +1112,7 @@ or getgrent respectively.
@end deffn
In addition to the accessor procedures for the user database, the
-following shortcut procedures are also available.
-
-@deffn {Scheme Procedure} cuserid
-@deffnx {C Function} scm_cuserid ()
-Return a string containing a user name associated with the
-effective user id of the process. Return @code{#f} if this
-information cannot be obtained.
-
-This function has been removed from the latest POSIX specification,
-Guile provides it only if the system has it. Using @code{(getpwuid
-(geteuid))} may be a better idea.
-@end deffn
+following shortcut procedure is also available.
@deffn {Scheme Procedure} getlogin
@deffnx {C Function} scm_getlogin ()