comparison 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
comparison
equal deleted inserted replaced
12291:b6840c49fbdb 12292:76617b82cf4c
1056 } 1056 }
1057 1057
1058 DEFUNX ("S_ISCHR", FS_ISCHR, args, , 1058 DEFUNX ("S_ISCHR", FS_ISCHR, args, ,
1059 "-*- texinfo -*-\n\ 1059 "-*- texinfo -*-\n\
1060 @deftypefn {Built-in Function} {} S_ISCHR (@var{mode})\n\ 1060 @deftypefn {Built-in Function} {} S_ISCHR (@var{mode})\n\
1061 Return true if @var{mode} corresponds to a character devicey. The value\n\ 1061 Return true if @var{mode} corresponds to a character device. The value\n\
1062 of @var{mode} is assumed to be returned from a call to @code{stat}.\n\ 1062 of @var{mode} is assumed to be returned from a call to @code{stat}.\n\
1063 @seealso{stat, lstat}\n\ 1063 @seealso{stat, lstat}\n\
1064 @end deftypefn") 1064 @end deftypefn")
1065 { 1065 {
1066 octave_value retval = false; 1066 octave_value retval = false;
1156 } 1156 }
1157 1157
1158 DEFUNX ("S_ISSOCK", FS_ISSOCK, args, , 1158 DEFUNX ("S_ISSOCK", FS_ISSOCK, args, ,
1159 "-*- texinfo -*-\n\ 1159 "-*- texinfo -*-\n\
1160 @deftypefn {Built-in Function} {} S_ISSOCK (@var{mode})\n\ 1160 @deftypefn {Built-in Function} {} S_ISSOCK (@var{mode})\n\
1161 Return true if @var{mode} corresponds to a socket. The value\n\
1162 of @var{mode} is assumed to be returned from a call to @code{stat}.\n\
1161 @seealso{stat, lstat}\n\ 1163 @seealso{stat, lstat}\n\
1162 @end deftypefn") 1164 @end deftypefn")
1163 { 1165 {
1164 octave_value retval = false; 1166 octave_value retval = false;
1165 1167