#include <dcl/Config.h>
#include <errno.h>
#include <stdlib.h>
#include <dcl/_stat.h>
#include <dcl/Object.h>
#include <dcl/String.h>
#include "__strumbs.h"
Go to the source code of this file.
|
| __DCL_BEGIN_NAMESPACE int | __stat (const String &_path, struct stat *_buf) |
| int | __lstat (const String &_path, struct stat *_buf) |
| int | __chmod (const String &_path, mode_t _mode) |
| int | __lchmod (const String &_path, mode_t _mode) |
| int | __mkdir (const String &_path, mode_t _mode) |
| int | __mkfifo (const String &_path, mode_t _mode) |
◆ __chmod()
| int __chmod |
( |
const String & | _path, |
|
|
mode_t | _mode ) |
Definition at line 36 of file _stat.cpp.
37{
39 return chmod(path, _mode);
40}
#define STRTOMBS_ER(str, mbs)
◆ __lchmod()
| int __lchmod |
( |
const String & | _path, |
|
|
mode_t | _mode ) |
Definition at line 42 of file _stat.cpp.
43{
45 return lchmod(path, _mode);
46}
◆ __lstat()
| int __lstat |
( |
const String & | _path, |
|
|
struct stat * | _buf ) |
Definition at line 30 of file _stat.cpp.
31{
33 return lstat(path, _buf);
34}
◆ __mkdir()
| int __mkdir |
( |
const String & | _path, |
|
|
mode_t | _mode ) |
Definition at line 48 of file _stat.cpp.
49{
51 return mkdir(path, _mode);
52}
◆ __mkfifo()
| int __mkfifo |
( |
const String & | _path, |
|
|
mode_t | _mode ) |
Definition at line 54 of file _stat.cpp.
55{
57 return mkfifo(path, _mode);
58}
◆ __stat()
| __DCL_BEGIN_NAMESPACE int __stat |
( |
const String & | _path, |
|
|
struct stat * | _buf ) |
- Returns
- == NULL or -1, see errno
Definition at line 24 of file _stat.cpp.
25{
27 return stat(path, _buf);
28}