DCL 4.0
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 33 of file _fcntl.cpp.

34{
35 STRTOMBS_ER(_path, path);
36 return creat(path, _mode);
37}
#define STRTOMBS_ER(str, mbs)
Definition __strumbs.h:33

◆ __open()

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

Definition at line 23 of file _fcntl.cpp.

24{
25 STRTOMBS_ER(_path, path);
26 va_list arglist;
27 va_start(arglist, _oflags);
28 mode_t mode = va_arg(arglist, mode_t);
29 va_end(arglist);
30 return open(path, _oflags, mode);
31}