.\" @(#)$RCSfile: dpns_umask.man,v $ $Revision: 1.1.1.1 $ $Date: 2001/10/04 12:12:51 $ CERN IT-PDP/DM Jean-Philippe Baud .\" Copyright (C) 1999-2000 by CERN/IT/PDP/DM .\" All rights reserved .\" .TH DPNS_UMASK 3 "$Date: 2001/10/04 12:12:51 $" DPNS "DPNS Library Functions" .SH NAME dpns_umask \- set and get DPNS file creation mask used by the name server .SH SYNOPSIS .B #include .br \fB#include "dpns_api.h"\fR .sp .BI "mode_t dpns_umask (mode_t " cmask ) .SH DESCRIPTION .B dpns_umask sets the DPNS file creation mask used by the name server to .I 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 .I cmask are used. .SH SEE ALSO .BR dpns_chmod(3) , .BR dpns_creat(3) , .BR dpns_mkdir(3) , .BR dpns_stat(3),\ dpns_statg(3) .SH AUTHOR \fBLCG Grid Deployment\fP Team