Shore Programmer's Manual - 2 August 96
umask \- set registered object creation mode mask
shrc Shore::umask(mode_t newmask, mode_t *oldmask);
places the current value of the process' umask in
In either case,
sets the process' umask to the value of
The umask is used to determine the mode of a new registered object. Any
bits set in the process' umask are cleared from the
and the resulting value is used as the mode of the new registered object.
Shore applications have two umasks, the Unix mask and the Shore
mask. When a connection with the Shore server is established (see
), the Shore mask is set to the current value of the Unix mask.
Any subsequent changes to either mask are not reflected in the other.
Furthermore, changes to the Shore mask in one process are not seen by
subsequent processes. The Unix mask can be changed with
This manual page applies to Version 1.0 of theShore software.
The Shore project is sponsored by the Advanced Research Project Agency, ARPA order number 018 (formerly 8230), monitored by the U.S. Army Research Laboratory under contract DAAB07-92-C-Q508.
Copyright (c) 1994, 1995, 1996 Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.