DCL 3.7.4
Loading...
Searching...
No Matches
_fcntl.h File Reference
#include <fcntl.h>

Go to the source code of this file.

Macros

#define __DCL_FCNTL_H__   20110119

Functions

DCLCAPI int __open (const String &_path, int _oflags,...)
DCLCAPI int __creat (const String &_path, mode_t _mode)

Macro Definition Documentation

◆ __DCL_FCNTL_H__

#define __DCL_FCNTL_H__   20110119

Definition at line 2 of file _fcntl.h.

Function Documentation

◆ __creat()

DCLCAPI int __creat ( const String & _path,
mode_t _mode )

Definition at line 45 of file _fcntl.cpp.

46{
47 STRTOMBS_ER(_path, path);
48 return creat(path, _mode);
49}
#define STRTOMBS_ER(str, mbs)
Definition __strumbs.h:33

◆ __open()

DCLCAPI int __open ( const String & _path,
int _oflags,
... )

Definition at line 31 of file _fcntl.cpp.

32{
33 STRTOMBS_ER(_path, path);
34 va_list arglist;
35 va_start(arglist, _oflags);
36 mode_t mode = va_arg(arglist, mode_t);
37 va_end(arglist);
38 return open(path, _oflags, mode);
39}