VMS Help
System Services, $SETDFPROT
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Allows you to read and write the default file protection for the
process.
Format
SYS$SETDFPROT [new-def-prot-addr] ,[cur-def-prot-addr]
C Prototype
int sys$setdfprot (unsigned short int *newdefprotaddr,
unsigned short int *curdefprotaddr);
new-def-prot-addr
OpenVMS usage:file_protection
type: word (unsigned)
access: read only
mechanism: by reference
A word that specifies the new default file protection
specification. The new-def-prot-addr argument is the address
of the word that specifies the desired protection. If you do not
want the process-default file protection to be changed, specify
the value 0.
cur-def-prot-addr
OpenVMS usage:file_protection
type: word (unsigned)
access: write only
mechanism: by reference
A word that is to receive the current default file protection
specification. The cur-def-prot-addr argument is the address of
the word that receives the current process-default protection. If
you do not want the current default file protection, specify the
value 0.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.