Livox SDK API  V2.2.0
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  fmt::v5::basic_cstring_view< Char >
 
class  fmt::v5::error_code
 
class  fmt::v5::buffered_file
 
class  fmt::v5::file
 

Namespaces

 fmt
 
 fmt::v5
 

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 > fmt::v5::cstring_view
 
typedef basic_cstring_view< wchar_t > fmt::v5::wcstring_view
 

Functions

long fmt::v5::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)

Definition at line 55 of file posix.h.

#define FMT_SYSTEM (   call)    call

Definition at line 43 of file posix.h.