diff src/syscalls.cc @ 12292:76617b82cf4c release-3-4-x

Add S_ISSOCK function to documentation.
author Rik <octave@nomad.inbox5.com>
date Sat, 29 Jan 2011 21:38:33 -0800
parents b6840c49fbdb
children 7a5aacf65f81
line wrap: on
line diff
--- a/src/syscalls.cc	Sat Jan 29 21:28:38 2011 -0800
+++ b/src/syscalls.cc	Sat Jan 29 21:38:33 2011 -0800
@@ -1058,7 +1058,7 @@
 DEFUNX ("S_ISCHR", FS_ISCHR, args, ,
   "-*- texinfo -*-\n\
 @deftypefn {Built-in Function} {} S_ISCHR (@var{mode})\n\
-Return true if @var{mode} corresponds to a character devicey.  The value\n\
+Return true if @var{mode} corresponds to a character device.  The value\n\
 of @var{mode} is assumed to be returned from a call to @code{stat}.\n\
 @seealso{stat, lstat}\n\
 @end deftypefn")
@@ -1158,6 +1158,8 @@
 DEFUNX ("S_ISSOCK", FS_ISSOCK, args, ,
   "-*- texinfo -*-\n\
 @deftypefn {Built-in Function} {} S_ISSOCK (@var{mode})\n\
+Return true if @var{mode} corresponds to a socket.  The value\n\
+of @var{mode} is assumed to be returned from a call to @code{stat}.\n\
 @seealso{stat, lstat}\n\
 @end deftypefn")
 {