Scroll to navigation

DPNS_UMASK(3) DPNS Library Functions DPNS_UMASK(3)

NAME

dpns_umask - set and get DPNS file creation mask used by the name server

SYNOPSIS

#include <sys/types.h>
#include "dpns_api.h"

mode_t dpns_umask (mode_t cmask)

DESCRIPTION

dpns_umask sets the DPNS file creation mask used by the name server to cmask and returns the previous value of the mask. The current mask is stored in a thread-safe variable in the client. Only the access permission bits of cmask are used.

SEE ALSO

dpns_chmod(3), dpns_creat(3), dpns_mkdir(3), dpns_stat(3), dpns_statg(3)

AUTHOR

LCG Grid Deployment Team

$Date: 2001/10/04 12:12:51 $ DPNS