Mercurial > octave-nkf
comparison src/utils.cc @ 10840:89f4d7e294cc
Grammarcheck .cc files
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 31 Jul 2010 11:18:11 -0700 |
parents | 6c50b56824aa |
children | eec74ee00b32 |
comparison
equal
deleted
inserted
replaced
10839:65bc065bec95 | 10840:89f4d7e294cc |
---|---|
272 return retval; | 272 return retval; |
273 } | 273 } |
274 | 274 |
275 DEFUN (file_in_loadpath, args, , | 275 DEFUN (file_in_loadpath, args, , |
276 "-*- texinfo -*-\n\ | 276 "-*- texinfo -*-\n\ |
277 @deftypefn {Built-in Function} {} file_in_loadpath (@var{file})\n\ | 277 @deftypefn {Built-in Function} {} file_in_loadpath (@var{file})\n\ |
278 @deftypefnx {Built-in Function} {} file_in_loadpath (@var{file}, \"all\")\n\ | 278 @deftypefnx {Built-in Function} {} file_in_loadpath (@var{file}, \"all\")\n\ |
279 \n\ | 279 \n\ |
280 Return the absolute name of @var{file} if it can be found in\n\ | 280 Return the absolute name of @var{file} if it can be found in\n\ |
281 the list of directories specified by @code{path}.\n\ | 281 the list of directories specified by @code{path}.\n\ |
282 If no file is found, return an empty character string.\n\ | 282 If no file is found, return an empty character string.\n\ |
323 return retval; | 323 return retval; |
324 } | 324 } |
325 | 325 |
326 DEFUN (file_in_path, args, , | 326 DEFUN (file_in_path, args, , |
327 "-*- texinfo -*-\n\ | 327 "-*- texinfo -*-\n\ |
328 @deftypefn {Built-in Function} {} file_in_path (@var{path}, @var{file})\n\ | 328 @deftypefn {Built-in Function} {} file_in_path (@var{path}, @var{file})\n\ |
329 @deftypefnx {Built-in Function} {} file_in_path (@var{path}, @var{file}, \"all\")\n\ | 329 @deftypefnx {Built-in Function} {} file_in_path (@var{path}, @var{file}, \"all\")\n\ |
330 Return the absolute name of @var{file} if it can be found in\n\ | 330 Return the absolute name of @var{file} if it can be found in\n\ |
331 @var{path}. The value of @var{path} should be a colon-separated list of\n\ | 331 @var{path}. The value of @var{path} should be a colon-separated list of\n\ |
332 directories in the format described for @code{path}. If no file\n\ | 332 directories in the format described for @code{path}. If no file\n\ |
333 is found, return an empty character string. For example,\n\ | 333 is found, return an empty character string. For example:\n\ |
334 \n\ | 334 \n\ |
335 @example\n\ | 335 @example\n\ |
336 @group\n\ | 336 @group\n\ |
337 file_in_path (EXEC_PATH, \"sh\")\n\ | 337 file_in_path (EXEC_PATH, \"sh\")\n\ |
338 @result{} \"/bin/sh\"\n\ | 338 @result{} \"/bin/sh\"\n\ |
823 return retval; | 823 return retval; |
824 } | 824 } |
825 | 825 |
826 DEFUNX ("errno", Ferrno, args, , | 826 DEFUNX ("errno", Ferrno, args, , |
827 "-*- texinfo -*-\n\ | 827 "-*- texinfo -*-\n\ |
828 @deftypefn {Built-in Function} {@var{err} =} errno ()\n\ | 828 @deftypefn {Built-in Function} {@var{err} =} errno ()\n\ |
829 @deftypefnx {Built-in Function} {@var{err} =} errno (@var{val})\n\ | 829 @deftypefnx {Built-in Function} {@var{err} =} errno (@var{val})\n\ |
830 @deftypefnx {Built-in Function} {@var{err} =} errno (@var{name})\n\ | 830 @deftypefnx {Built-in Function} {@var{err} =} errno (@var{name})\n\ |
831 Return the current value of the system-dependent variable errno,\n\ | 831 Return the current value of the system-dependent variable errno,\n\ |
832 set its value to @var{val} and return the previous value, or return\n\ | 832 set its value to @var{val} and return the previous value, or return\n\ |
833 the named error code given @var{name} as a character string, or -1\n\ | 833 the named error code given @var{name} as a character string, or -1\n\ |