ACE  6.1.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions
OS_NS_fcntl.h File Reference
#include "ace/config-all.h"
#include "ace/os_include/os_fcntl.h"
#include "ace/Global_Macros.h"
#include "ace/Default_Constants.h"


namespace  ACE_OS
 This namespace defines an OS independent programming API that shields developers from nonportable aspects of writing efficient system programs on Win32, POSIX and other versions of UNIX, and various real-time operating systems.


#define ACE_EXPORT_MACRO   ACE_Export


int ACE_OS::fcntl (ACE_HANDLE handle, int cmd, long arg=0)
ACE_HANDLE ACE_OS::open (const char *filename, int mode, mode_t perms=ACE_DEFAULT_OPEN_PERMS, LPSECURITY_ATTRIBUTES sa=0)
 The O_APPEND flag is only partly supported on Win32. If you specify O_APPEND, then the file pointer will be positioned at the end of the file initially during open, but it is not re-positioned at the end prior to each write, as specified by POSIX. This is generally good enough for typical situations, but it is ``not quite right'' in its semantics. More...
ACE_HANDLE ACE_OS::open (const wchar_t *filename, int mode, mode_t perms=ACE_DEFAULT_OPEN_PERMS, LPSECURITY_ATTRIBUTES sa=0)

Detailed Description

OS_NS_fcntl.h 87487 2009-11-12 07:54:39Z johnnyw
Douglas C. Schmidt
Jesper S. M|
and a cast of thousands...

Originally in OS.h.

Macro Definition Documentation

#define ACE_EXPORT_MACRO   ACE_Export