umask - mask for a Shore client's permission bits


CONTENTS


SYNOPSIS

VASResult       
shore_vas::setUmask(
	unsigned int		umask
);

VASResult       
shore_vas::getUmask(
	unsigned int		*umask
);

DESCRIPTION

A umask is the same beast as the Unix file creation mask for a process. Its value lasts the duration of a connection between the client and server (on the server, the duration of an instance of the class shore_vas).

SetUmask sets the umask for Shore to the given value.

GetUmask returns the current umask.


ENVIRONMENT

These methods are available on both the client and server; they can be invoked inside or outside a transaction. Locks are not acquired.

ERRORS

A complete list of errors is in errors(svas).


VERSION

This manual page applies to Version 1.1.1 of the Shore software.

SPONSORSHIP

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-91-C-Q518.

COPYRIGHT

Copyright © 1994, 1995, 1996, 1997, Computer Sciences Department, University of Wisconsin -- Madison. All Rights Reserved.

SEE ALSO

intro(svas), anonymous(svas), registered(svas), permissions(svas), sysprops(svas), and errors(svas)