error when using mkstemp

View: New views
2 Messages — Rating Filter:   Alert me  

error when using mkstemp

by Aditya Bhagwat :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all,

I am using octave version 3.2.3, (compiled on Ubuntu 9.04), in an
inferior octave process from within Emacs 23.1 (also compiled on Ubuntu
9.04).

For some reason, I can't get the function 'mkstemp' working properly.
When I enter following command:

        [fid, name, msg] = mkstemp('outputxxxxxx', 1)
 
This is the error message I get:

        octave> [fid,name,msg] = mkstemp('outputxxxxxx', 1)
        fid = -1
        name =
        msg = Invalid argument

_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

error when using mkstemp

by John W. Eaton-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 23-Oct-2009, Aditya Bhagwat wrote:

| I am using octave version 3.2.3, (compiled on Ubuntu 9.04), in an
| inferior octave process from within Emacs 23.1 (also compiled on Ubuntu
| 9.04).
|
| For some reason, I can't get the function 'mkstemp' working properly.
| When I enter following command:
|
|         [fid, name, msg] = mkstemp('outputxxxxxx', 1)
|  
| This is the error message I get:
|
|         octave> [fid,name,msg] = mkstemp('outputxxxxxx', 1)
|         fid = -1
|         name =
|         msg = Invalid argument

The documentation for mkstemp says that the last six characters for
mkstemp must be 'XXXXXX'.

jwe
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave