ACE  6.1.0
Classes | Namespaces | Defines | Functions | Variables
OS_NS_stdio.h File Reference
#include "ace/config-all.h"
#include "ace/os_include/os_stdio.h"
#include "ace/os_include/os_fcntl.h"
#include "io.h"

Classes

class  ACE_OS::ace_flock_t
 OS file locking structure. More...

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

void ace_clearerr_helper (FILE *stream)
int ace_fgetc_helper (FILE *fp)
int ace_fputc_helper (int ch, FILE *fp)
int ace_getc_helper (FILE *fp)
int ace_putc_helper (int ch, FILE *fp)
int ace_ungetc_helper (int ch, FILE *fp)
ACE_HANDLE ace_fileno_helper (FILE *fp)
void ACE_OS::clearerr (FILE *fp)
int ACE_OS::asprintf (char **bufp, const char *format,...) ACE_GCC_FORMAT_ATTRIBUTE(printf
int int ACE_OS::asprintf (wchar_t **bufp, const wchar_t *format,...)
int ACE_OS::fclose (FILE *fp)
FILE * ACE_OS::fdopen (ACE_HANDLE handle, const ACE_TCHAR *mode)
int ACE_OS::fflush (FILE *fp)
int ACE_OS::fgetc (FILE *fp)
int ACE_OS::getc (FILE *fp)
int ACE_OS::fgetpos (FILE *fp, fpos_t *pos)
char * ACE_OS::fgets (char *buf, int size, FILE *fp)
wchar_t * ACE_OS::fgets (wchar_t *buf, int size, FILE *fp)
ACE_HANDLE ACE_OS::fileno (FILE *stream)
FILE * ACE_OS::fopen (const char *filename, const char *mode)
FILE * ACE_OS::fopen (const char *filename, const wchar_t *mode)
FILE * ACE_OS::fopen (const wchar_t *filename, const wchar_t *mode)
FILE * ACE_OS::fopen (const wchar_t *filename, const char *mode)
LPSECURITY_ATTRIBUTES ACE_OS::default_win32_security_attributes (LPSECURITY_ATTRIBUTES)
 Default Win32 Security Attributes definition.
LPSECURITY_ATTRIBUTES ACE_OS::default_win32_security_attributes_r (LPSECURITY_ATTRIBUTES, LPSECURITY_ATTRIBUTES, SECURITY_DESCRIPTOR *)
const ACE_TEXT_OSVERSIONINFO & ACE_OS::get_win32_versioninfo (void)
 Return the win32 OSVERSIONINFO structure.
HINSTANCE ACE_OS::get_win32_resource_module (void)
void ACE_OS::set_win32_resource_module (HINSTANCE)
int ACE_OS::fprintf (FILE *fp, const char *format,...) ACE_GCC_FORMAT_ATTRIBUTE(printf
int int ACE_OS::fprintf (FILE *fp, const wchar_t *format,...)
int ACE_OS::ungetc (int c, FILE *fp)
int ACE_OS::fputc (int c, FILE *fp)
int ACE_OS::putc (int c, FILE *fp)
int ACE_OS::fputs (const char *s, FILE *stream)
int ACE_OS::fputs (const wchar_t *s, FILE *stream)
size_t ACE_OS::fread (void *ptr, size_t size, size_t nelems, FILE *fp)
FILE * ACE_OS::freopen (const ACE_TCHAR *filename, const ACE_TCHAR *mode, FILE *stream)
int ACE_OS::fseek (FILE *fp, long offset, int ptrname)
int ACE_OS::fsetpos (FILE *fp, fpos_t *pos)
long ACE_OS::ftell (FILE *fp)
size_t ACE_OS::fwrite (const void *ptr, size_t size, size_t nitems, FILE *fp)
void ACE_OS::perror (const char *s)
void ACE_OS::perror (const wchar_t *s)
int ACE_OS::printf (const char *format,...) ACE_GCC_FORMAT_ATTRIBUTE(printf
int int ACE_OS::printf (const wchar_t *format,...)
int ACE_OS::puts (const char *s)
int ACE_OS::puts (const wchar_t *s)
int ACE_OS::rename (const char *old_name, const char *new_name, int flags=-1)
int ACE_OS::rename (const wchar_t *old_name, const wchar_t *new_name, int flags=-1)
void ACE_OS::rewind (FILE *fp)
int ACE_OS::snprintf (char *buf, size_t maxlen, const char *format,...) ACE_GCC_FORMAT_ATTRIBUTE(printf
int int ACE_OS::snprintf (wchar_t *buf, size_t maxlen, const wchar_t *format,...)
int ACE_OS::sprintf (char *buf, const char *format,...) ACE_GCC_FORMAT_ATTRIBUTE(printf
int int ACE_OS::sprintf (wchar_t *buf, const wchar_t *format,...)
char * ACE_OS::tempnam (const char *dir=0, const char *pfx=0)
wchar_t * ACE_OS::tempnam (const wchar_t *dir, const wchar_t *pfx=0)
int ACE_OS::vasprintf (char **bufp, const char *format, va_list argptr) ACE_GCC_FORMAT_ATTRIBUTE(printf
int int ACE_OS::vprintf (const char *format, va_list argptr) ACE_GCC_FORMAT_ATTRIBUTE(printf
int int int ACE_OS::vfprintf (FILE *fp, const char *format, va_list argptr) ACE_GCC_FORMAT_ATTRIBUTE(printf
int int int int ACE_OS::vsprintf (char *buffer, const char *format, va_list argptr) ACE_GCC_FORMAT_ATTRIBUTE(printf
int int int int int ACE_OS::vsnprintf (char *buffer, size_t maxlen, const char *format, va_list argptr) ACE_GCC_FORMAT_ATTRIBUTE(printf
int int int int int int ACE_OS::vasprintf (wchar_t **bufp, const wchar_t *format, va_list argptr)
int ACE_OS::vprintf (const wchar_t *format, va_list argptr)
int ACE_OS::vfprintf (FILE *fp, const wchar_t *format, va_list argptr)
int ACE_OS::vsprintf (wchar_t *buffer, const wchar_t *format, va_list argptr)
int ACE_OS::vsnprintf (wchar_t *buffer, size_t maxlen, const wchar_t *format, va_list argptr)
int ACE_OS::vasprintf_emulation (char **bufp, const char *format, va_list argptr)
int ACE_OS::vaswprintf_emulation (wchar_t **bufp, const wchar_t *format, va_list argptr)
char * ACE_OS::cuserid (char *user, size_t maxlen=ACE_MAX_USERID)
wchar_t * ACE_OS::cuserid (wchar_t *user, size_t maxlen=ACE_MAX_USERID)
void ACE_OS::flock_adjust_params (ace_flock_t *lock, short whence, ACE_OFF_T &start, ACE_OFF_T &len)
int ACE_OS::flock_init (ace_flock_t *lock, int flags=0, const ACE_TCHAR *name=0, mode_t perms=0)
int ACE_OS::flock_destroy (ace_flock_t *lock, int unlink_file=1)
int ACE_OS::flock_rdlock (ace_flock_t *lock, short whence=0, ACE_OFF_T start=0, ACE_OFF_T len=0)
int ACE_OS::flock_tryrdlock (ace_flock_t *lock, short whence=0, ACE_OFF_T start=0, ACE_OFF_T len=0)
int ACE_OS::flock_trywrlock (ace_flock_t *lock, short whence=0, ACE_OFF_T start=0, ACE_OFF_T len=0)
int ACE_OS::flock_unlock (ace_flock_t *lock, short whence=0, ACE_OFF_T start=0, ACE_OFF_T len=0)
int ACE_OS::flock_wrlock (ace_flock_t *lock, short whence=0, ACE_OFF_T start=0, ACE_OFF_T len=0)

Variables

ACE_TEXT_OSVERSIONINFO ACE_OS::win32_versioninfo_
HINSTANCE ACE_OS::win32_resource_module_

Detailed Description

Id:
OS_NS_stdio.h 93500 2011-03-07 16:19:27Z vzykov
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

Function Documentation

void ace_clearerr_helper ( FILE *  stream) [inline]
int ace_fgetc_helper ( FILE *  fp) [inline]
ACE_HANDLE ace_fileno_helper ( FILE *  fp) [inline]
int ace_fputc_helper ( int  ch,
FILE *  fp 
) [inline]
int ace_getc_helper ( FILE *  fp) [inline]
int ace_putc_helper ( int  ch,
FILE *  fp 
) [inline]
int ace_ungetc_helper ( int  ch,
FILE *  fp 
) [inline]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines