1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 05:20:16 +02:00

(File System): In stat:dev and stat:mode, clarify that both are numbers.

This commit is contained in:
Kevin Ryde 2003-09-12 23:57:03 +00:00
parent eaa032c389
commit 5c3917e7f5

View file

@ -577,15 +577,15 @@ parameter to the following procedures, all of which return
integers: integers:
@deffn {Scheme Procedure} stat:dev st @deffn {Scheme Procedure} stat:dev st
The device containing the file. The device number containing the file.
@end deffn @end deffn
@deffn {Scheme Procedure} stat:ino st @deffn {Scheme Procedure} stat:ino st
The file serial number, which distinguishes this file from all The file serial number, which distinguishes this file from all
other files on the same device. other files on the same device.
@end deffn @end deffn
@deffn {Scheme Procedure} stat:mode st @deffn {Scheme Procedure} stat:mode st
The mode of the file. This includes file type information and The mode of the file. This is an integer which incorporates file type
the file permission bits. See @code{stat:type} and information and file permission bits. See also @code{stat:type} and
@code{stat:perms} below. @code{stat:perms} below.
@end deffn @end deffn
@deffn {Scheme Procedure} stat:nlink st @deffn {Scheme Procedure} stat:nlink st
@ -626,7 +626,7 @@ which case @code{stat:blocks} returns @code{#f}.
@end deffn @end deffn
In addition, the following procedures return the information In addition, the following procedures return the information
from stat:mode in a more convenient form: from @code{stat:mode} in a more convenient form:
@deffn {Scheme Procedure} stat:type st @deffn {Scheme Procedure} stat:type st
A symbol representing the type of file. Possible values are A symbol representing the type of file. Possible values are