File: Cns_umask.man

package info (click to toggle)
dpm-postgres 1.7.4.7-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 13,788 kB
  • ctags: 10,782
  • sloc: ansic: 146,136; sh: 13,362; perl: 11,142; python: 5,529; cpp: 5,113; sql: 1,790; makefile: 955; fortran: 113
file content (29 lines) | stat: -rw-r--r-- 876 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.\" @(#)$RCSfile: Cns_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 CNS_UMASK 3 "$Date: 2001/10/04 12:12:51 $" CASTOR "Cns Library Functions"
.SH NAME
Cns_umask \- set and get CASTOR file creation mask used by the name server
.SH SYNOPSIS
.B #include <sys/types.h>
.br
\fB#include "Cns_api.h"\fR
.sp
.BI "mode_t Cns_umask (mode_t " cmask )
.SH DESCRIPTION
.B Cns_umask
sets the CASTOR 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 Cns_chmod(3) ,
.BR Cns_creat(3) ,
.BR Cns_mkdir(3) ,
.BR Cns_stat(3)
.SH AUTHOR
\fBCASTOR\fP Team <castor.support@cern.ch>