[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] pspp/src file-handle-def.c
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] pspp/src file-handle-def.c |
Date: |
Thu, 12 Jan 2006 03:56:54 +0000 |
CVSROOT: /cvsroot/pspp
Module name: pspp
Branch:
Changes by: Ben Pfaff <address@hidden> 06/01/12 03:56:54
Modified files:
src : file-handle-def.c
Log message:
Improve comment.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pspp/pspp/src/file-handle-def.c.diff?tr1=1.3&tr2=1.4&r1=text&r2=text
Patches:
Index: pspp/src/file-handle-def.c
diff -u pspp/src/file-handle-def.c:1.3 pspp/src/file-handle-def.c:1.4
--- pspp/src/file-handle-def.c:1.3 Thu Jan 12 03:39:01 2006
+++ pspp/src/file-handle-def.c Thu Jan 12 03:56:54 2006
@@ -179,6 +179,8 @@
TYPE is the sort of file, e.g. "system file". Only one given
type of access is allowed on a given file handle at once.
+ If successful, a reference to TYPE is retained, so it should
+ probably be a string literal.
MODE combines the read or write mode with the sharing mode.
The first character is 'r' for read, 'w' for write. The
@@ -190,10 +192,7 @@
pointer on failure. For exclusive access modes the void *
will always be a null pointer at return. In shared access
modes the void * will necessarily be null only if no other
- sharers are active.
-
- If successful, a reference to type is retained, so it should
- probably be a string literal. */
+ sharers are active. */
void **
fh_open (struct file_handle *h, const char *type, const char *mode)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pspp-cvs] pspp/src file-handle-def.c,
Ben Pfaff <=