Mercurial > hg > octave-nkf
comparison scripts/miscellaneous/isunix.m @ 7010:f7d2f54008f5
[project @ 2007-10-11 17:50:34 by jwe]
author | jwe |
---|---|
date | Thu, 11 Oct 2007 17:50:34 +0000 |
parents | 34f96dd5441b |
children | 93c65f2a5668 |
comparison
equal
deleted
inserted
replaced
7009:b353c370a315 | 7010:f7d2f54008f5 |
---|---|
18 ## 02110-1301, USA. | 18 ## 02110-1301, USA. |
19 | 19 |
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {} isunix () | 21 ## @deftypefn {Function File} {} isunix () |
22 ## Return 1 if Octave is running on a Unix-like system and 0 otherwise. | 22 ## Return 1 if Octave is running on a Unix-like system and 0 otherwise. |
23 ## @seealso{ismac, ispc} | |
23 ## @end deftypefn | 24 ## @end deftypefn |
24 | 25 |
25 function retval = isunix () | 26 function retval = isunix () |
26 | 27 |
27 if (nargin == 0) | 28 if (nargin == 0) |