メインページ | アルファベット順一覧 | データ構造 | ファイル一覧 | データフィールド | グローバル | 関連ページ

stdlib.h

stdlib.hの代わり [詳細]

#include "memory.h"
#include "math.h"
#include "string.h"
#include "strings.h"
#include "malloc.h"

stdlib.hのインクルード依存関係図

このグラフは、どのファイルから直接、間接的にインクルードされているかを示しています。

ソースコードを見る。

データ構造

struct  dkcstd_init_arg

マクロ定義

#define memcpy(a, b, c)   dkcstd_memcpy(a,b,c)
#define memset(a, b, c)   dkcstd_memset(a,b,c)
#define memmove(a, b, c)   dkcstd_memmove(a,b,c)
#define memcmp(a, b, c)   dkcstd_memcmp(a,b,c)
#define memchr(a, b, c)   dkcstd_memchr(a,b,c)
#define strcpy(a, b)   dkcstd_strcpy(a,b)
#define strlen(a)   dkcstd_strlen(a)
#define strcmp(a, b)   dkcstd_strcmp(a,b)
#define strncmp(a, b, c)   dkcstd_strcmp(a,b,c)
#define strstr(a, b)   dkcstd_strstr(a,b)
#define bcopy(a, b, c)   dkcstd_bcopy(a,b,c)
#define bzero(a, b)   dkcstd_bzero(a,b)
#define bcmp(a, b, c)   dkcstd_bcmp(a,b,c)
#define atoi(a)   dkcstd_atoi(a)
#define atox(a)   dkcstd_atox(a)

型定義

typedef dkcstd_init_arg DKCSTD_INIT_ARG

関数

DKC_EXTERN int dkcstd_init ()
DKC_EXTERN int dkcstd_end ()
DKC_EXTERN int dkcstd_atoi (const char *p)
DKC_EXTERN int dkcstd_atox (const char *p)
 '0' == 0x30 '9'== 0x39 110000 'A' == 0x41 'F'== 0x46 1000001 'a' == 0x61 'f' ==0x66 1100001


説明

stdlib.hの代わり

作者:
d金魚
から:
2005/01/17

stdlib.h で定義されています。


マクロ定義

#define atoi (  a   )     dkcstd_atoi(a)
 

stdlib.h の 40 行で定義されています。

#define atox (  a   )     dkcstd_atox(a)
 

stdlib.h の 41 行で定義されています。

#define bcmp (  a,
b,
c   )     dkcstd_bcmp(a,b,c)
 

stdlib.h の 37 行で定義されています。

#define bcopy (  a,
b,
c   )     dkcstd_bcopy(a,b,c)
 

stdlib.h の 35 行で定義されています。

#define bzero (  a,
b   )     dkcstd_bzero(a,b)
 

stdlib.h の 36 行で定義されています。

#define memchr (  a,
b,
c   )     dkcstd_memchr(a,b,c)
 

stdlib.h の 25 行で定義されています。

#define memcmp (  a,
b,
c   )     dkcstd_memcmp(a,b,c)
 

stdlib.h の 24 行で定義されています。

#define memcpy (  a,
b,
c   )     dkcstd_memcpy(a,b,c)
 

stdlib.h の 21 行で定義されています。

参照元 dkcstd_memmove().

#define memmove (  a,
b,
c   )     dkcstd_memmove(a,b,c)
 

stdlib.h の 23 行で定義されています。

#define memset (  a,
b,
c   )     dkcstd_memset(a,b,c)
 

stdlib.h の 22 行で定義されています。

#define strcmp (  a,
b   )     dkcstd_strcmp(a,b)
 

stdlib.h の 30 行で定義されています。

#define strcpy (  a,
b   )     dkcstd_strcpy(a,b)
 

stdlib.h の 28 行で定義されています。

#define strlen (  a   )     dkcstd_strlen(a)
 

stdlib.h の 29 行で定義されています。

#define strncmp (  a,
b,
c   )     dkcstd_strcmp(a,b,c)
 

stdlib.h の 31 行で定義されています。

#define strstr (  a,
b   )     dkcstd_strstr(a,b)
 

stdlib.h の 32 行で定義されています。


型定義

typedef struct dkcstd_init_arg DKCSTD_INIT_ARG
 


関数

DKC_EXTERN int dkcstd_atoi (  const char *  p  ) 
 

stdlib.c の 11 行で定義されています。

00012 {
00013     int r = 0;
00014     for(;*p;p++)
00015     {
00016         //'0' == 0x30 '9'== 0x39
00017         r = r * 10 + *p - 0x30;
00018     }
00019     return r;
00020 }

DKC_EXTERN int dkcstd_atox (  const char *  p  ) 
 

'0' == 0x30 '9'== 0x39 110000 'A' == 0x41 'F'== 0x46 1000001 'a' == 0x61 'f' ==0x66 1100001

stdlib.c の 27 行で定義されています。

00028 {
00029     int r = 0;
00030     
00031     for(;*p;p++)
00032     {
00033         if('0' <= *p && *p <= '9'){
00034             r = r * 16 + *p - '0';
00035         }else if('A' <= *p && *p <= 'F'){
00036             r = r * 16 + *p - 'A' + 10;
00037         }else if('a' <= *p && *p <= 'f'){
00038             r = r * 16 + *p - 'a' + 10;
00039         }
00040     }
00041     return r;
00042 }

DKC_EXTERN int dkcstd_end (   ) 
 

DKC_EXTERN int dkcstd_init (   ) 
 


dkutil_cstdに対してSat Sep 10 09:19:29 2005に生成されました。  doxygen 1.4.4