WireCellToolkit
Wire Cell Simulation, Signal Process and Reconstruction Toolki for Liquid Argon Detectors
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:

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

◆ FMT_POSIX

#define FMT_POSIX (   call)    call

Definition at line 35 of file posix.h.

◆ FMT_POSIX_CALL

#define FMT_POSIX_CALL (   call)    ::call

Definition at line 48 of file posix.h.

◆ FMT_RETRY

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

Definition at line 63 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 55 of file posix.h.

◆ FMT_SYSTEM

#define FMT_SYSTEM (   call)    call

Definition at line 43 of file posix.h.

Typedef Documentation

◆ cstring_view

Definition at line 112 of file posix.h.

◆ wcstring_view

Definition at line 113 of file posix.h.

Function Documentation

◆ getpagesize()

long getpagesize ( )
Here is the caller graph for this function: