LAL  7.1.7.1-ab2cc12

Detailed Description

Provides LAL functions similar to the non-file functions in <stdio.h>.

Synopsis

#include <lal/LALStdio.h>
#include <lal/FileIO.h>

Macros

#define LALFopen   fopen
 
#define LALFclose   fclose
 

Format macros for printing (U)INT2

#define LAL_INT2_PRId   PRId16
 
#define LAL_INT2_PRIi   PRIi16
 
#define LAL_INT2_PRIo   PRIo16
 
#define LAL_INT2_PRIu   PRIu16
 
#define LAL_INT2_PRIx   PRIx16
 
#define LAL_INT2_PRIX   PRIX16
 

Format macros for printing (U)INT4

#define LAL_INT4_PRId   PRId32
 
#define LAL_INT4_PRIi   PRIi32
 
#define LAL_INT4_PRIo   PRIo32
 
#define LAL_INT4_PRIu   PRIu32
 
#define LAL_INT4_PRIx   PRIx32
 
#define LAL_INT4_PRIX   PRIX32
 

Format macros for printing (U)INT8

#define LAL_INT8_PRId   PRId64
 
#define LAL_INT8_PRIi   PRIi64
 
#define LAL_INT8_PRIo   PRIo64
 
#define LAL_INT8_PRIu   PRIu64
 
#define LAL_INT8_PRIx   PRIx64
 
#define LAL_INT8_PRIX   PRIX64
 

Format macros for scanning (U)INT2

#define LAL_INT2_SCNd   SCNd16
 
#define LAL_INT2_SCNi   SCNi16
 
#define LAL_INT2_SCNo   SCNo16
 
#define LAL_INT2_SCNu   SCNu16
 
#define LAL_INT2_SCNx   SCNx16
 

Format macros for scanning (U)INT4

#define LAL_INT4_SCNd   SCNd32
 
#define LAL_INT4_SCNi   SCNi32
 
#define LAL_INT4_SCNo   SCNo32
 
#define LAL_INT4_SCNu   SCNu32
 
#define LAL_INT4_SCNx   SCNx32
 

Format macros for scanning (U)INT8

#define LAL_INT8_SCNd   SCNd64
 
#define LAL_INT8_SCNi   SCNi64
 
#define LAL_INT8_SCNo   SCNo64
 
#define LAL_INT8_SCNu   SCNu64
 
#define LAL_INT8_SCNx   SCNx64
 

Format macros for printing and scanning (U)INT* (decimal only) and REAL*

#define LAL_INT2_FORMAT   LAL_INT2_SCNd
 
#define LAL_INT4_FORMAT   LAL_INT4_SCNd
 
#define LAL_INT8_FORMAT   LAL_INT8_SCNd
 
#define LAL_UINT2_FORMAT   LAL_INT2_SCNu
 
#define LAL_UINT4_FORMAT   LAL_INT4_SCNu
 
#define LAL_UINT8_FORMAT   LAL_INT8_SCNu
 
#define LAL_REAL4_FORMAT   "g"
 
#define LAL_REAL8_FORMAT   "lg"
 

Macro Definition Documentation

◆ LALFopen

#define LALFopen   fopen

Definition at line 50 of file LALStdio.h.

◆ LALFclose

#define LALFclose   fclose

Definition at line 51 of file LALStdio.h.

◆ LAL_INT2_PRId

#define LAL_INT2_PRId   PRId16

Definition at line 57 of file LALStdio.h.

◆ LAL_INT2_PRIi

#define LAL_INT2_PRIi   PRIi16

Definition at line 58 of file LALStdio.h.

◆ LAL_INT2_PRIo

#define LAL_INT2_PRIo   PRIo16

Definition at line 59 of file LALStdio.h.

◆ LAL_INT2_PRIu

#define LAL_INT2_PRIu   PRIu16

Definition at line 60 of file LALStdio.h.

◆ LAL_INT2_PRIx

#define LAL_INT2_PRIx   PRIx16

Definition at line 61 of file LALStdio.h.

◆ LAL_INT2_PRIX

#define LAL_INT2_PRIX   PRIX16

Definition at line 62 of file LALStdio.h.

◆ LAL_INT4_PRId

#define LAL_INT4_PRId   PRId32

Definition at line 69 of file LALStdio.h.

◆ LAL_INT4_PRIi

#define LAL_INT4_PRIi   PRIi32

Definition at line 70 of file LALStdio.h.

◆ LAL_INT4_PRIo

#define LAL_INT4_PRIo   PRIo32

Definition at line 71 of file LALStdio.h.

◆ LAL_INT4_PRIu

#define LAL_INT4_PRIu   PRIu32

Definition at line 72 of file LALStdio.h.

◆ LAL_INT4_PRIx

#define LAL_INT4_PRIx   PRIx32

Definition at line 73 of file LALStdio.h.

◆ LAL_INT4_PRIX

#define LAL_INT4_PRIX   PRIX32

Definition at line 74 of file LALStdio.h.

◆ LAL_INT8_PRId

#define LAL_INT8_PRId   PRId64

Definition at line 81 of file LALStdio.h.

◆ LAL_INT8_PRIi

#define LAL_INT8_PRIi   PRIi64

Definition at line 82 of file LALStdio.h.

◆ LAL_INT8_PRIo

#define LAL_INT8_PRIo   PRIo64

Definition at line 83 of file LALStdio.h.

◆ LAL_INT8_PRIu

#define LAL_INT8_PRIu   PRIu64

Definition at line 84 of file LALStdio.h.

◆ LAL_INT8_PRIx

#define LAL_INT8_PRIx   PRIx64

Definition at line 85 of file LALStdio.h.

◆ LAL_INT8_PRIX

#define LAL_INT8_PRIX   PRIX64

Definition at line 86 of file LALStdio.h.

◆ LAL_INT2_SCNd

#define LAL_INT2_SCNd   SCNd16

Definition at line 93 of file LALStdio.h.

◆ LAL_INT2_SCNi

#define LAL_INT2_SCNi   SCNi16

Definition at line 94 of file LALStdio.h.

◆ LAL_INT2_SCNo

#define LAL_INT2_SCNo   SCNo16

Definition at line 95 of file LALStdio.h.

◆ LAL_INT2_SCNu

#define LAL_INT2_SCNu   SCNu16

Definition at line 96 of file LALStdio.h.

◆ LAL_INT2_SCNx

#define LAL_INT2_SCNx   SCNx16

Definition at line 97 of file LALStdio.h.

◆ LAL_INT4_SCNd

#define LAL_INT4_SCNd   SCNd32

Definition at line 104 of file LALStdio.h.

◆ LAL_INT4_SCNi

#define LAL_INT4_SCNi   SCNi32

Definition at line 105 of file LALStdio.h.

◆ LAL_INT4_SCNo

#define LAL_INT4_SCNo   SCNo32

Definition at line 106 of file LALStdio.h.

◆ LAL_INT4_SCNu

#define LAL_INT4_SCNu   SCNu32

Definition at line 107 of file LALStdio.h.

◆ LAL_INT4_SCNx

#define LAL_INT4_SCNx   SCNx32

Definition at line 108 of file LALStdio.h.

◆ LAL_INT8_SCNd

#define LAL_INT8_SCNd   SCNd64

Definition at line 115 of file LALStdio.h.

◆ LAL_INT8_SCNi

#define LAL_INT8_SCNi   SCNi64

Definition at line 116 of file LALStdio.h.

◆ LAL_INT8_SCNo

#define LAL_INT8_SCNo   SCNo64

Definition at line 117 of file LALStdio.h.

◆ LAL_INT8_SCNu

#define LAL_INT8_SCNu   SCNu64

Definition at line 118 of file LALStdio.h.

◆ LAL_INT8_SCNx

#define LAL_INT8_SCNx   SCNx64

Definition at line 119 of file LALStdio.h.

◆ LAL_INT2_FORMAT

#define LAL_INT2_FORMAT   LAL_INT2_SCNd

Definition at line 126 of file LALStdio.h.

◆ LAL_INT4_FORMAT

#define LAL_INT4_FORMAT   LAL_INT4_SCNd

Definition at line 127 of file LALStdio.h.

◆ LAL_INT8_FORMAT

#define LAL_INT8_FORMAT   LAL_INT8_SCNd

Definition at line 128 of file LALStdio.h.

◆ LAL_UINT2_FORMAT

#define LAL_UINT2_FORMAT   LAL_INT2_SCNu

Definition at line 129 of file LALStdio.h.

◆ LAL_UINT4_FORMAT

#define LAL_UINT4_FORMAT   LAL_INT4_SCNu

Definition at line 130 of file LALStdio.h.

◆ LAL_UINT8_FORMAT

#define LAL_UINT8_FORMAT   LAL_INT8_SCNu

Definition at line 131 of file LALStdio.h.

◆ LAL_REAL4_FORMAT

#define LAL_REAL4_FORMAT   "g"

Definition at line 132 of file LALStdio.h.

◆ LAL_REAL8_FORMAT

#define LAL_REAL8_FORMAT   "lg"

Definition at line 133 of file LALStdio.h.