ACE  6.1.0
Namespaces | Defines | 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"

Namespaces

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.


Defines

#define ACE_EXPORT_MACRO   ACE_Export

Functions

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.
ACE_HANDLE ACE_OS::open (const wchar_t *filename, int mode, mode_t perms=ACE_DEFAULT_OPEN_PERMS, LPSECURITY_ATTRIBUTES sa=0)

Detailed Description

Id:
OS_NS_fcntl.h 87487 2009-11-12 07:54:39Z johnnyw
Author:
Douglas C. Schmidt <schmidt@cs.wustl.edu>
Jesper S. M|ller<stophph@diku.dk>
and a cast of thousands...

Originally in OS.h.


Define Documentation

#define ACE_EXPORT_MACRO   ACE_Export
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines