1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 13:30:26 +02:00

Refer to provided? rather than the deprecated feature?.

This commit is contained in:
Neil Jerram 2002-10-03 22:16:17 +00:00
parent d2184983c7
commit 66add4ebf5
3 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2002-10-03 Neil Jerram <neil@ossau.uklinux.net>
* posix.texi (Processes), scheme-options.texi (Common Feature
Symbols): Refer to provided? rather than deprecated feature?.
2002-10-03 Marius Vollmer <mvo@zagadka.ping.de>
* tools.texi (How guile-snarf works): Updated.

View file

@ -1229,7 +1229,7 @@ Return an integer representing the current real group ID.
@deffnx {C Function} scm_geteuid ()
Return an integer representing the current effective user ID.
If the system does not support effective IDs, then the real ID
is returned. @code{(feature? 'EIDs)} reports whether the
is returned. @code{(provided? 'EIDs)} reports whether the
system supports effective IDs.
@end deffn
@ -1237,7 +1237,7 @@ system supports effective IDs.
@deffnx {C Function} scm_getegid ()
Return an integer representing the current effective group ID.
If the system does not support effective IDs, then the real ID
is returned. @code{(feature? 'EIDs)} reports whether the
is returned. @code{(provided? 'EIDs)} reports whether the
system supports effective IDs.
@end deffn
@ -1259,7 +1259,7 @@ The return value is unspecified.
@deffnx {C Function} scm_seteuid (id)
Sets the effective user ID to the integer @var{id}, provided the process
has appropriate privileges. If effective IDs are not supported, the
real ID is set instead -- @code{(feature? 'EIDs)} reports whether the
real ID is set instead -- @code{(provided? 'EIDs)} reports whether the
system supports effective IDs.
The return value is unspecified.
@end deffn
@ -1268,7 +1268,7 @@ The return value is unspecified.
@deffnx {C Function} scm_setegid (id)
Sets the effective group ID to the integer @var{id}, provided the process
has appropriate privileges. If effective IDs are not supported, the
real ID is set instead -- @code{(feature? 'EIDs)} reports whether the
real ID is set instead -- @code{(provided? 'EIDs)} reports whether the
system supports effective IDs.
The return value is unspecified.
@end deffn

View file

@ -316,7 +316,7 @@ practice to rely on them, as the correspondences between feature symbols
and available procedures/behaviour are not strictly defined. If you are
writing code that needs to check for the existence of some procedure, it
is probably safer to do so directly using the @code{defined?} procedure
than to test for the corresponding feature using @code{feature?}.
than to test for the corresponding feature using @code{provided?}.
@node Runtime Options