Postfix3.3.1
マクロ定義 | 関数
safe_ultostr.c ファイル
#include <sys_defs.h>
#include <stdlib.h>
#include <limits.h>
#include <errno.h>
#include <ctype.h>
#include <msg.h>
#include <vstring.h>
#include <mymalloc.h>
#include <safe_ultostr.h>

[ソースコード]

マクロ定義

#define STR   vstring_str
 
#define END   vstring_end
 
#define SWAP(type, a, b)   { type temp; temp = a; a = b; b = temp; }
 
#define SAFE_MAX_BASE   (sizeof(safe_chars) - 1)
 
#define SAFE_MIN_BASE   (2)
 

関数

char * safe_ultostr (VSTRING *buf, unsigned long ulval, int base, int padlen, int padchar)
 
unsigned long safe_strtoul (const char *start, char **end, int base)
 

マクロ定義詳解

#define END   vstring_end

safe_ultostr.c88 行目に定義があります。

#define SAFE_MAX_BASE   (sizeof(safe_chars) - 1)

safe_ultostr.c94 行目に定義があります。

#define SAFE_MIN_BASE   (2)

safe_ultostr.c95 行目に定義があります。

#define STR   vstring_str

safe_ultostr.c87 行目に定義があります。

#define SWAP (   type,
  a,
 
)    { type temp; temp = a; a = b; b = temp; }

safe_ultostr.c89 行目に定義があります。

関数詳解

unsigned long safe_strtoul ( const char *  start,
char **  end,
int  base 
)

safe_ultostr.c137 行目に定義があります。

char* safe_ultostr ( VSTRING buf,
unsigned long  ulval,
int  base,
int  padlen,
int  padchar 
)

safe_ultostr.c99 行目に定義があります。