comparison src/lread.c @ 951:93e076dd7825

[xemacs-hg @ 2002-08-02 15:35:49 by james] Correct locate_file documentation: Any nonnegative return value indicates success if MODE is nonnegative.
author james
date Fri, 02 Aug 2002 15:35:54 +0000
parents 804517e16990
children 8b464283e891
comparison
equal deleted inserted replaced
950:c1a972caf831 951:93e076dd7825
1126 colons. 1126 colons.
1127 On success, returns a file descriptor. On failure, returns -1. 1127 On success, returns a file descriptor. On failure, returns -1.
1128 1128
1129 MODE nonnegative means don't open the files, 1129 MODE nonnegative means don't open the files,
1130 just look for one for which access(file,MODE) succeeds. In this case, 1130 just look for one for which access(file,MODE) succeeds. In this case,
1131 returns 1 on success. 1131 returns a nonnegative value on success. On failure, returns -1.
1132 1132
1133 If STOREPTR is nonzero, it points to a slot where the name of 1133 If STOREPTR is nonzero, it points to a slot where the name of
1134 the file actually found should be stored as a Lisp string. 1134 the file actually found should be stored as a Lisp string.
1135 Nil is stored there on failure. 1135 Nil is stored there on failure.
1136 1136