diff options
author | dos-reis <gdr@axiomatics.org> | 2008-09-14 05:22:19 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-09-14 05:22:19 +0000 |
commit | cb2898bace89b16b4deae484375513c12a2d3b47 (patch) | |
tree | 111525a5f43333ddb4ccc1072e11f40d28ed0149 /src/lib | |
parent | a09fa1e3605d190ccc02f2254abacb1eb4df150e (diff) | |
download | open-axiom-cb2898bace89b16b4deae484375513c12a2d3b47.tar.gz |
* interp/sys-os.boot (readablep): Import.
(writeablep): Document.
* algebra/fname.spad.pamphlet (exists?$FileName): Use existingFile?
(readable?$FileName): Use readablep.
(writeable?$FileName): Use writeable.
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/cfuns-c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/cfuns-c.c b/src/lib/cfuns-c.c index b57f77ad..4fbf48de 100644 --- a/src/lib/cfuns-c.c +++ b/src/lib/cfuns-c.c @@ -184,7 +184,7 @@ axiom_has_write_access(const struct stat* file_info) /* Return -1 if the file designated by PATH is inexistent. - 0 if the file exists but wirte access is denied. + 0 if the file exists but write access is denied. 1 if the file exists and process has write access. 2 if the file does not exists but process has write has write access to the dirname of path. */ @@ -291,7 +291,7 @@ std_stream_is_terminal(int fd) } /* The MS documentation suggests `GetFileType' for determining the nature of the file handle. The return value, in our case, - is an over approximation of what we are interested int: Are we + is an over approximation of what we are interested in: Are we dealing with a stream connected to a terminal? The constant FILE_TYPE_CHAR characterises character files; in particular a console terminal, or a printer. There is an undocumented |