HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
UT_ChmodACL.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: UT_ChmodACL.h (UT Library, C++)
7
*
8
* COMMENTS:
9
*/
10
11
#ifndef __UT_CHMODACL_H_INCLUDED__
12
#define __UT_CHMODACL_H_INCLUDED__
13
14
#include "
UT_API.h
"
15
16
/// A version of chmod() that directly manipulates ACLs on supported OSes
17
///
18
/// Currently only implemented on Windows and is compatible with cygwin chmod.
19
/// Note that the CRT chmod() (and therefore os.chmod() in hython) only modify
20
/// the Read Only file attribute. So if you use this to remove write
21
/// permission, those other functions won't work anymore.
22
///
23
/// On all other platforms, defaults to regular chmod()
24
///
25
/// @return 0 on success, -1 on error
26
UT_API
extern
int
UTchmodACL
(
const
char
*
path
,
unsigned
int
mode
);
27
28
#endif // __UT_CHMODACL_H_INCLUDED__
UTchmodACL
UT_API int UTchmodACL(const char *path, unsigned int mode)
path
GLsizei const GLchar *const * path
Definition:
glcorearb.h:3341
UT_API.h
UT_API
#define UT_API
Definition:
UT_API.h:14
mode
GLenum mode
Definition:
glcorearb.h:99
UT
UT_ChmodACL.h
Generated on Sun Nov 17 2024 03:03:41 for HDK by
1.8.6