comparison src/fileio.c @ 5616:67a8c4a8c80e

(Ffile_symlink_p): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Sun, 16 Jan 1994 23:59:56 +0000
parents 22a65d8c0b9a
children 7bd40f51b9e9
comparison
equal deleted inserted replaced
5615:e7dd5c1d36dc 5616:67a8c4a8c80e
2180 2180
2181 return (access (XSTRING (abspath)->data, 4) >= 0) ? Qt : Qnil; 2181 return (access (XSTRING (abspath)->data, 4) >= 0) ? Qt : Qnil;
2182 } 2182 }
2183 2183
2184 DEFUN ("file-symlink-p", Ffile_symlink_p, Sfile_symlink_p, 1, 1, 0, 2184 DEFUN ("file-symlink-p", Ffile_symlink_p, Sfile_symlink_p, 1, 1, 0,
2185 "If file FILENAME is the name of a symbolic link\n\ 2185 "Return non-nil if file FILENAME is the name of a symbolic link.\n\
2186 returns the name of the file to which it is linked.\n\ 2186 The value is the name of the file to which it is linked.\n\
2187 Otherwise returns NIL.") 2187 Otherwise returns nil.")
2188 (filename) 2188 (filename)
2189 Lisp_Object filename; 2189 Lisp_Object filename;
2190 { 2190 {
2191 #ifdef S_IFLNK 2191 #ifdef S_IFLNK
2192 char *buf; 2192 char *buf;