Classes | Macros | Typedefs | Functions
posix.h File Reference
#include <errno.h>
#include <fcntl.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <cstddef>
#include "format.h"

Go to the source code of this file.

Classes

class  basic_cstring_view< Char >
 
class  error_code
 
class  buffered_file
 
class  file
 

Macros

#define FMT_POSIX(call)   call
 
#define FMT_SYSTEM(call)   call
 
#define FMT_POSIX_CALL(call)   ::call
 
#define FMT_RETRY_VAL(result, expression, error_result)
 
#define FMT_RETRY(result, expression)   FMT_RETRY_VAL(result, expression, -1)
 

Typedefs

typedef basic_cstring_view< char > cstring_view
 
typedef basic_cstring_view< wchar_t > wcstring_view
 

Functions

long getpagesize ()
 

Macro Definition Documentation

#define FMT_POSIX (   call)    call

Definition at line 35 of file posix.h.

#define FMT_POSIX_CALL (   call)    ::call

Definition at line 48 of file posix.h.

#define FMT_RETRY (   result,
  expression 
)    FMT_RETRY_VAL(result, expression, -1)

Definition at line 63 of file posix.h.

#define FMT_RETRY_VAL (   result,
  expression,
  error_result 
)
Value:
do { \
result = (expression); \
} while (result == error_result && errno == EINTR)
static QCString result
int errno
Contains the last error code.
Definition: structcmd.h:53

Definition at line 55 of file posix.h.

#define FMT_SYSTEM (   call)    call

Definition at line 43 of file posix.h.

Typedef Documentation

Definition at line 112 of file posix.h.

Definition at line 113 of file posix.h.

Function Documentation

long getpagesize ( )