Mercurial > octave-nkf
annotate scripts/miscellaneous/tempname.m @ 12291:b6840c49fbdb release-3-4-x
Add S_ISBLK and family of functions to documentation.
Improve docstrings for functions in System Utilities::File Utilities.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sat, 29 Jan 2011 21:28:38 -0800 |
parents | fd0a3ac60b0e |
children | a3d21c3c0f58 |
rev | line source |
---|---|
11523 | 1 ## Copyright (C) 2003-2011 John W. Eaton |
4266 | 2 ## |
3 ## This file is part of Octave. | |
4 ## | |
5 ## Octave is free software; you can redistribute it and/or modify it | |
6 ## under the terms of the GNU General Public License as published by | |
7016 | 7 ## the Free Software Foundation; either version 3 of the License, or (at |
8 ## your option) any later version. | |
4266 | 9 ## |
10 ## Octave is distributed in the hope that it will be useful, but | |
11 ## WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 ## General Public License for more details. | |
14 ## | |
15 ## You should have received a copy of the GNU General Public License | |
7016 | 16 ## along with Octave; see the file COPYING. If not, see |
17 ## <http://www.gnu.org/licenses/>. | |
4266 | 18 |
19 ## -*- texinfo -*- | |
12291
b6840c49fbdb
Add S_ISBLK and family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
20 ## @deftypefn {Function File} {} tempname () |
b6840c49fbdb
Add S_ISBLK and family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
21 ## @deftypefnx {Function File} {} tempname (@var{dir}) |
b6840c49fbdb
Add S_ISBLK and family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
22 ## @deftypefnx {Function File} {} tempname (@var{dir}, @var{prefix}) |
4266 | 23 ## This function is an alias for @code{tmpnam}. |
12291
b6840c49fbdb
Add S_ISBLK and family of functions to documentation.
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
24 ## @seealso{tmpnam} |
4266 | 25 ## @end deftypefn |
26 | |
4268 | 27 function filename = tempname (varargin) |
4266 | 28 |
4268 | 29 filename = tmpnam (varargin{:}); |
4266 | 30 |
31 endfunction |