Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
posix.h File Reference
#include <errno.h>
#include <fcntl.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <cstddef>
#include "format.h"
+ Include dependency graph for posix.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  fmt::ErrorCode
 
class  fmt::BufferedFile
 
struct  fmt::BufferedFile::Proxy
 
class  fmt::File
 
struct  fmt::File::Proxy
 

Namespaces

namespace  fmt
 
namespace  std
 

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)
 

Functions

long fmt::getpagesize ()
 
fmt::BufferedFilestd::move (fmt::BufferedFile &f)
 
fmt::Filestd::move (fmt::File &f)
 

Macro Definition Documentation

◆ FMT_POSIX

#define FMT_POSIX ( call)    call

Definition at line 37 of file posix.h.

◆ FMT_POSIX_CALL

#define FMT_POSIX_CALL ( call)    ::call

Definition at line 50 of file posix.h.

◆ FMT_RETRY

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

Definition at line 65 of file posix.h.

◆ FMT_RETRY_VAL

#define FMT_RETRY_VAL ( result,
expression,
error_result )
Value:
do { \
result = (expression); \
} while (result == error_result && errno == EINTR)

Definition at line 57 of file posix.h.

◆ FMT_SYSTEM

#define FMT_SYSTEM ( call)    call

Definition at line 45 of file posix.h.