- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to use PXFOPEN. I can read
files, but I can't write - I suspect
this is because I'm not setting the
mode correctly.
On other systems the mode is the or'd combination
of S_IRUSR || S_IWUSR || S_IRGRP, etc., but these
don't work with Intel compiler and the manual (for
version 5.1) doesn't tell one anything.
What are the correct values for the mode that one can
use for the mode?
files, but I can't write - I suspect
this is because I'm not setting the
mode correctly.
On other systems the mode is the or'd combination
of S_IRUSR || S_IWUSR || S_IRGRP, etc., but these
don't work with Intel compiler and the manual (for
version 5.1) doesn't tell one anything.
What are the correct values for the mode that one can
use for the mode?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This should just be the usual Linux octal access code.
So you should be able to set it to something like (octal) 644, assuming you are creating a new file and have write access to the directory.
If you still have difficulties, please submit an issue to Intel Premier Support at https:premier.intel.com
Martyn
So you should be able to set it to something like (octal) 644, assuming you are creating a new file and have write access to the directory.
If you still have difficulties, please submit an issue to Intel Premier Support at https:premier.intel.com
Martyn
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page