Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-Fileaccess permissionsDcreate()Fcreate()Fchmod()Pumask() GEMDOSSyntaxWORD Pumask( mode )
WORD mode;
Function Pumask() defines an inital file and directory creation mask.
Opcode 307 (0x133)
Availability Available when a 'MiNT' cookie with a version of at least
0.92 exists.
Parameters mode specifies the new file access permission mask to apply
to all future files created with Fcreate() and Dcreate().
mode is a WORD bit mask of various access permission flags
as defined in Fchmod().
Binding move.w mode,-(sp)
move.w #$133,-(sp)
trap #1
addq.l #4,sp
Return Value Pumask() returns the original mask in effect prior to the
call.
See Also Dcreate(), Fcreate(), Fchmod(), access permissions