diff src/file-io.cc @ 2458:d07a5d0b57e2

[project @ 1996-11-03 03:25:18 by jwe]
author jwe
date Sun, 03 Nov 1996 03:26:04 +0000
parents f667d7ec08b9
children 9705ea40f0a2
line wrap: on
line diff
--- a/src/file-io.cc
+++ b/src/file-io.cc
@@ -1232,8 +1232,8 @@
   return retval;
 }
 
-DEFUN (octave_tmp_file_name, args, ,
- "octave_tmp_file_name ()\n\
+DEFUN (tmpnam, args, ,
+ "tmpnam ()\n\
 Return unique temporary file name.")
 {
   octave_value retval;
@@ -1241,11 +1241,13 @@
   if (args.length () == 0)
     retval = oct_tempnam ();
   else
-    print_usage ("octave_tmp_file_name");
+    print_usage ("tmpnam");
 
   return retval;
 }
 
+DEFALIAS (octave_tmp_file_name, tmpnam);
+
 static int
 convert (int x, int ibase, int obase)
 {