#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 33 of file _stat.cpp.
34{
36 return chmod(path, _mode);
37}
#define STRTOMBS_ER(str, mbs)
◆ __lchmod()
int __lchmod |
( |
const String & | _path, |
|
|
mode_t | _mode ) |
Definition at line 39 of file _stat.cpp.
40{
42 return lchmod(path, _mode);
43}
◆ __lstat()
int __lstat |
( |
const String & | _path, |
|
|
struct stat * | _buf ) |
Definition at line 27 of file _stat.cpp.
28{
30 return lstat(path, _buf);
31}
◆ __mkdir()
int __mkdir |
( |
const String & | _path, |
|
|
mode_t | _mode ) |
Definition at line 45 of file _stat.cpp.
46{
48 return mkdir(path, _mode);
49}
◆ __mkfifo()
int __mkfifo |
( |
const String & | _path, |
|
|
mode_t | _mode ) |
Definition at line 51 of file _stat.cpp.
52{
54 return mkfifo(path, _mode);
55}
◆ __stat()
__DCL_BEGIN_NAMESPACE int __stat |
( |
const String & | _path, |
|
|
struct stat * | _buf ) |
- Returns
- == NULL or -1, see errno
Definition at line 21 of file _stat.cpp.
22{
24 return stat(path, _buf);
25}