C标准库头文件和函数速查

<assert.h> 

#define assert(expr)

#define  static_assert(expr);

<complex.h>(C99)  

<ctype.h>

int isalnum(int ch);

int isalpha(int ch);

int islower(int ch);

int isupper( int ch );

int isdigit( int ch );

int isxdigit( int ch );

int iscntrl( int ch );

int isgraph( int ch );

int isspace( int ch );

int isblank( int ch );

int isprint( int ch );

int ispunct( int ch );

int tolower( int ch );

int toupper( int ch );

<errno.h>

EDOM
EILSEQ
ERANGE

<fenv.h>(C99)

int feclearexcept( int excepts );

int fetestexcept( int excepts );

int feraiseexcept( int excepts );

int fegetexceptflag( fexcept_t* flagp, int excepts );

int fesetexceptflag( const fexcept_t* flagp, int excepts );

int fesetround( int round );

int fegetround();

int fegetenv( fenv_t* envp );

int fesetenv( const fenv_t* envp );

int feholdexcept( fenv_t* envp );

int feupdateenv( const fenv_t* envp );

FE_ALL_EXCEPT
FE_DIVBYZERO
FE_INEXACT
FE_INVALID
FE_OVERFLOW
FE_UNDERFLOW
FE_DOWNWARD
FE_TONEAREST
FE_TOWARDZERO
FE_UPWARD
FE_DFL_ENV

<float.h>

FLT_RADIX
DECIMAL_DIG
FLT_MIN
DBL_MIN
LDBL_MIN
FLT_MAX
DBL_MAX
LDBL_MAX
FLT_EPSILON
DBL_EPSILON
LDBL_EPSILON
FLT_DIG
DBL_DIG
LDBL_DIG
FLT_MANT_DIG
DBL_MANT_DIG
LDBL_MANT_DIG
FLT_MIN_EXP
DBL_MIN_EXP
LDBL_MIN_EXP
FLT_MIN_10_EXP
DBL_MIN_10_EXP
LDBL_MIN_10_EXP
FLT_MAX_EXP
DBL_MAX_EXP
LDBL_MAX_EXP
FLT_MAX_10_EXP
DBL_MAX_10_EXP
LDBL_MAX_10_EXP
FLT_ROUNDS
FLT_EVAL_METHOD

<inttypes.h>(C99)

PRId8
PRId16
PRId32
PRId64
PRIdLEAST8
PRIdLEAST16
PRIdLEAST32
PRIdLEAST64
PRIdFAST8
PRIdFAST16
PRIdFAST32
PRIdFAST64
PRIdMAX
PRIdPTR
PRIi8
PRIi16
PRIi32
PRIi64
PRIiLEAST8
PRIiLEAST16
PRIiLEAST32
PRIiLEAST64
PRIiFAST8
PRIiFAST16
PRIiFAST32
PRIiFAST64
PRIiMAX
PRIiPTR
PRIu8
PRIu16
PRIu32
PRIu64
PRIuLEAST8
PRIuLEAST16
PRIuLEAST32
PRIuLEAST64
PRIuFAST8
PRIuFAST16
PRIuFAST32
PRIuFAST64
PRIuMAX
PRIuPTR
PRIo8
PRIo16
PRIo32
PRIo64
PRIoLEAST8
PRIoLEAST16
PRIoLEAST32
PRIoLEAST64
PRIoFAST8
PRIoFAST16
PRIoFAST32
PRIoFAST64
PRIoMAX
PRIoPTR
PRIx8
PRIx16
PRIx32
PRIx64
PRIxLEAST8
PRIxLEAST16
PRIxLEAST32
PRIxLEAST64
PRIxFAST8
PRIxFAST16
PRIxFAST32
PRIxFAST64
PRIxMAX
PRIxPTR
PRIX8
PRIX16
PRIX32
PRIX64
PRIXLEAST8
PRIXLEAST16
PRIXLEAST32
PRIXLEAST64
PRIXFAST8
PRIXFAST16
PRIXFAST32
PRIXFAST64
PRIXMAX
PRIXPTR

SCNd8
SCNd16
SCNd32
SCNd64
SCNdLEAST8
SCNdLEAST16
SCNdLEAST32
SCNdLEAST64
SCNdFAST8
SCNdFAST16
SCNdFAST32
SCNdFAST64
SCNdMAX
SCNdPTR
SCNi8
SCNi16
SCNi32
SCNi64
SCNiLEAST8
SCNiLEAST16
SCNiLEAST32
SCNiLEAST64
SCNiFAST8
SCNiFAST16
SCNiFAST32
SCNiFAST64
SCNiMAX
SCNiPTR
SCNu8
SCNu16
SCNu32
SCNu64
SCNuLEAST8
SCNuLEAST16
SCNuLEAST32
SCNuLEAST64
SCNuFAST8
SCNuFAST16
SCNuFAST32
SCNuFAST64
SCNuMAX
SCNuPTR
SCNo8
SCNo16
SCNo32
SCNo64
SCNoLEAST8
SCNoLEAST16
SCNoLEAST32
SCNoLEAST64
SCNoFAST8
SCNoFAST16
SCNoFAST32
SCNoFAST64
SCNoMAX
SCNoPTR
SCNx8
SCNx16
SCNx32
SCNx64
SCNxLEAST8
SCNxLEAST16
SCNxLEAST32
SCNxLEAST64
SCNxFAST8
SCNxFAST16
SCNxFAST32
SCNxFAST64
SCNxMAX
SCNxPTR
SCNX8
SCNX16
SCNX32
SCNX64
SCNXLEAST8
SCNXLEAST16
SCNXLEAST32
SCNXLEAST64
SCNXFAST8
SCNXFAST16
SCNXFAST32
SCNXFAST64
SCNXMAX
SCNXPTR

intmax_t strtoimax( const char *restrict nptr, char **restrict endptr, int base );

uintmax_t strtoumax( const char *restrict nptr, char **restrict endptr, int base );

intmax_t imaxabs( intmax_t n );

<iso646.h>(C99)

<limits.h>

CHAR_BIT
MB_LEN_MAX
CHAR_MIN
CHAR_MAX
SCHAR_MIN
SHRT_MIN
INT_MIN
LONG_MIN
LLONG_MIN
SCHAR_MAX
SHRT_MAX
INT_MAX
LONG_MAX
LLONG_MAX
UCHAR_MAX
USHRT_MAX
UINT_MAX
ULONG_MAX
ULLONG_MAX

<locale.h>

char* setlocale( int category, const char* locale);

lconv* localeconv();

LC_ALL
LC_COLLATE
LC_CTYPE
LC_MONETARY
LC_NUMERIC
LC_TIME

<math.h>

float fabsf( float arg );

double fabs( double arg );

long double fabsl( long double arg );

float fmodf( float x, float y );

double fmod( double x, double y );

long double fmodl( long double x, long double y );

float remainderf( float x, float y );

double remainder( double x, double y );

long double remainderl( long double x, long double y );

float  remquof( float x, float y, int *quo );

double remquo( double x, double y, int *quo );

long double remquol( long double x, long double y, int *quo );

float fmaf( float x, float y, float z );

double fma( double x, double y, double z );

long double fmal( long double x, long double y, long double z );

float fmaxf( float x, float y );

double fmax( double x, double y );

long double fmaxl( long double x, long double y );

float fminf( float x, float y );

double fmin( double x, double y );

long double fminl( long double x, long double y );

float fdimf( float x, float y );

double fdim( double x, double y );

long double fdiml( long double x, long double y );

float nanf( const char* arg );

double  nan( const char* arg );

long double nanl( const char* arg );

float expf( float arg );

double exp( double arg );

long double expl( long double arg );

float exp2f( float n );

double exp2( double n );

long double exp2l( long double n );

float expm1f( float arg );

double expm1( double arg );

long double expm1l( long double arg );

float logf( float arg );

double log( double arg );

long double logl( long double arg );

float log10f( float arg );

double log10( double arg );

long double log10l( long double arg );

float  log1pf( float arg );

double log1p( double arg );

long double log1pl( long double arg );

float log2f( float arg );

double log2( double arg );

long double log2l( long double arg );

float sqrtf( float arg );

double sqrt( double arg );

long double sqrtl( long double arg );

float cbrtf( float arg );

double cbrt( double arg );

long double cbrtl( long double arg );

float hypotf( float x, float y );

double hypot( double x, double y );

long double hypotl( long double x, long double y );

float powf( float base, float exp );

double pow( double base, double exp );

long double powl( long double base, long double exp );

float sinf( float arg );

double sin( double arg );

long double sinl( long double arg );

float cosf( float arg );

double cos( double arg );

long double cosl( long double arg );

float tanf( float arg );

double tan( double arg );

long double tanl( long double arg );

float asinf( float arg );

double asin( double arg );

long double asinl( long double arg );

float acosf( float arg );

double acos( double arg );

long double acosl( long double arg );

float  atanf( float arg );

double atan( double arg );

long double atanl( long double arg );

float atan2f( float y, float x );

double atan2( double y, double x );

long double atan2l( long double y, long double x );

float sinhf( float arg );

double sinh( double arg );

long double sinhl( long double arg );

float coshf( float arg );

double cosh( double arg );

long double coshl( long double arg );

float tanhf( float arg );

double tanh( double arg );

long double tanhl( long double arg );

float asinhf( float arg );

double asinh( double arg );

long double asinhl( long double arg );

float acoshf( float arg );

double acosh( double arg );

long double acoshl( long double arg );

float atanhf( float arg );

double atanh( double arg );

long double atanhl( long double arg );

float erff( float arg );

double erf( double arg );

long double erfl( long double arg );

float erfcf( float arg );

double erfc( double arg );

long double erfcl( long double arg );

float lgammaf( float arg );

double lgamma( double arg );

long double lgammal( long double arg );

float tgammaf( float arg );

double tgamma( double arg );

long double tgammal( long double arg );

float ceilf( float arg );

double ceil( double arg );

long double ceill( long double arg );

float floorf( float arg );

double floor( double arg );

long double floorl( long double arg );

float       truncf( float arg );

double      trunc( double arg );

long double truncl( long double arg );

float       roundf( float arg );

double      round( double arg );

long double roundl( long double arg );

long lroundf( float arg );

long lround( double arg );

long  lroundl( long double arg );

long long llroundf( float arg );

long long llround( double arg );

long long llroundl( long double arg );

float       nearbyintf( float arg );

double      nearbyint( double arg );

long double nearbyintl( long double arg );

int rintf( float arg );

int rint( double arg );

int rintl( long double arg );

long lrintf( float arg );

long lrint( double arg );

long lrintl( long double arg );

long long llrintf( float arg );

long long llrint( double arg );

long long llrintl( long double arg );

float       frexpf( float arg, int* exp );

double      frexp( double arg, int* exp );

long double frexpl( long double arg, int* exp );

float       ldexpf( float arg, int exp );

double      ldexp( double arg, int exp );

long double ldexpl( long double arg, int exp );

float       modff( float x, float* iptr );

double      modf( double x, double* iptr );

long double modfl( long double x, long double* iptr );

float scalbnf( float x, int exp );

double scalbn( double x, int exp );

long double scalbnl( long double x, int exp );

float  scalblnf( float x, long exp );

double  scalbln( double x, long exp );

long double scalblnl( long double x, long exp );

int ilogbf( float arg );

int ilogb( double arg );

int ilogbl( long double arg );

#define FP_ILOGB0

#define FP_ILOGBNAN

float logbf( float arg );

double logb( double arg );

long double logbl( long double arg );

float nextafterf( float from, float to );

double nextafter( double from, double to );

long double nextafterl( long double from, long double to );

float nexttowardf( float from, long double to );

double nexttoward( double from, long double to );

long double nexttowardl( long double from, long double to );

float copysignf( float x, float y );

double copysign( double x, double y );

long double copysignl( long double x, long double y );

#define fpclassify(arg)

#define isfinite(arg)

#define isinf(arg)

#define isnan(arg)

#define isnormal(arg)

#define signbit(arg)

HUGE_VALF
HUGE_VAL
HUGE_VALL

FP_NORMAL
FP_SUBNORMAL
FP_ZERO
FP_INFINITY
FP_NAN

<setjmp.h>

setjmp(env)

void longjmp( jmp_buf env, int status );

<signal.h>

void (*signal( int sig, void (*handler) (int))) (int);

int raise( int sig );

SIGABRT
SIGFPE
SIGILL
SIGINT
SIGSEGV
SIGTERM

<stdalign.h>(C11)

<stdarg.h>

<stdatomic.h>(C11)

<stdbool.h>(C99)

<stddef.h>

<stdint.h>(C99)

PTRDIFF_MIN
PTRDIFF_MAX
SIZE_MAX
SIG_ATOMIC_MIN
SIG_ATOMIC_MAX
WCHAR_MIN
WCHAR_MAX
WINT_MIN
WINT_MAX

INT8_MIN
INT16_MIN
INT32_MIN
INT64_MIN
INT_FAST8_MIN
INT_FAST16_MIN
INT_FAST32_MIN
INT_FAST64_MIN
INT_LEAST8_MIN
INT_LEAST16_MIN
INT_LEAST32_MIN
INT_LEAST64_MIN
INTPTR_MIN
INTMAX_MIN
INT8_MAX
INT16_MAX
INT32_MAX
INT64_MAX
INT_FAST8_MAX
INT_FAST16_MAX
INT_FAST32_MAX
INT_FAST64_MAX
INT_LEAST8_MAX
INT_LEAST16_MAX
INT_LEAST32_MAX
INT_LEAST64_MAX
INTPTR_MAX
INTMAX_MAX
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINT64_MAX
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_FAST64_MAX
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
UINT_LEAST64_MAX
UINTPTR_MAX
UINTMAX_MAX

int8_t
int16_t
int32_t
int64_t
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
intptr_t
uint8_t
uint16_t
uint32_t
uint64_t
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
uintptr_t

<stdio.h>

FILE *fopen( const char *filename, const char *mode );

FILE *freopen( const char *filename, const char *mode, FILE *stream );

int fclose( FILE *stream );

int fflush( FILE *stream );

int fwide( FILE *stream, int mode );

void setbuf( FILE *stream, char *buffer );

int setvbuf( FILE *stream, char *buffer, int mode, size_t size );

size_t fread( void *buffer, size_t size, size_t count, FILE *stream );

int fwrite( const void *buffer, size_t size, size_t count, FILE *stream );

int fgetc( FILE *stream );

int getc( FILE *stream );

char *fgets( char *str, int count, FILE *stream );

int fputc( int ch, FILE *stream );

int putc( int ch, FILE *stream );

int fputs( const char *str, FILE *stream );

int getchar();

char *gets( char *str );

char *gets_s(char *str, rsize_t n);

int putchar( int ch );

int puts( char *str );

int ungetc( int ch, FILE *stream );

int scanf( const char *format, ... );

int fscanf( FILE *stream, const char *format, ... );

int sscanf( const char *buffer, const char *format, ... );

​int vscanf( const char *format, va_list vlist );

int vfscanf( FILE *stream, const char *format, va_list vlist );

int vsscanf( const char *buffer, const char *format, va_list vlist );

​int printf( const char *format, ... );

int fprintf( FILE *stream, const char *format, ... );

int sprintf( char *buffer, const char *format, ... );

int snprintf( char *buffer, int buf_size, const char *format, ... );

​int vprintf( const char *format, va_list vlist );

int vfprintf( FILE *stream, const char *format, va_list vlist );

int vsprintf( const char *buffer, const char *format, va_list vlist );

int vsnprintf( char *buffer, int buf_size, const char *format, va_list vlist );

long ftell( FILE *stream );

int fgetpos( FILE *stream, fpos_t *pos );

int fseek( FILE *stream, long offset, int origin );

int fsetpos( FILE *stream, const fpos_t *pos );

void rewind( FILE *stream );

void clearerr( FILE *stream );

int feof( FILE *stream );

int ferror( FILE *stream );

void perror( const char *s );

int remove( const char *fname );

int rename( const char *old_filename, const char *new_filename );

FILE *tmpfile();

char *tmpnam( char *filename );

<stdlib.h>

void* malloc( size_t size );

void* calloc( size_t num, size_t size );

void *realloc( void *ptr, size_t new_size );

void free( void* ptr );

void abort();

void exit( int exit_code );

void quick_exit( int exit_code );

void _Exit( int exit_code );

int atexit( void (*func)() );

int at_quick_exit( void (*func)() );

EXIT_SUCCESS
EXIT_FAILURE

int system( const char *command );

const char *getenv( const char *env_var );

int mblen( const char* s, size_t n );

int mbtowc( wchar_t* pwc, const char* s, size_t n ) ;

int wctomb( char* s, wchar_t wc );

size_t mbstowcs( wchar_t* dst, const char* src, size_t len) ;

size_t wcstombs( char* dst, const wchar_t* src, size_t len) ;

int rand();

void srand( unsigned seed );

double atof( const char* str );

int atoi( const char *str );

long atol( const char *str );

long long atoll( const char *str );

long strtol( const char *str, char **str_end, int base );

long long strtoll( const char *str, char **str_end, int base );

unsigned long strtoul( const char *str, char **str_end, int base );

unsigned long long strtoull( const char *str, char **str_end, int base );

float strtof( const char* str, char** str_end );

double strtod( const char* str, char** str_end );

long double strtold( const char* str, char** str_end );

int abs( int n );

long labs( long n );

long long llabs( long long n );

<stdnoreturn.h>(C11)

<string.h>

char *strcpy( char *dest, const char *src );

char *strncpy( char *dest, const char *src, size_t count );

char *strcat( char *dest, const char *src );

char *strncat( char *dest, const char *src, size_t count );

size_t strxfrm( const char *dest, const char *src, size_t count );

size_t strlen( char *str );

int strcmp( const char *lhs, const char *rhs );

int strncmp( const char *lhs, const char *rhs, size_t count );

int strcoll( const char *lhs, const char *rhs );

const char *strchr( const char *str, int ch );

char *strchr( char *str, int ch );

const char *strrchr( const char *str, int ch );

char *strrchr( char *str, int ch );

size_t strspn( const char *dest, const char *src );

size_t strcspn( const char *dest, const char *src );

const char* strpbrk( const char* dest, const char* str );

char*  strpbrk( char* dest, const char* str );

const char *strstr( const char *dest, const char *src );

char *strstr( char *dest, const char *src );

char* strtok( char* str, const char* delim );

const void* memchr( const void* ptr, int ch, size_t count );

void* memchr( void* ptr, int ch, size_t count );

int memcmp( const void* lhs, const void* rhs, size_t count );

void* memset( void* dest, int ch, size_t count );

void* memcpy( void* dest, const void* src, size_t count );

void* memmove( void* dest, const void* src, size_t count );

char* strerror( int errnum );

<tgmath.h>(C99)

<threads.h>(C11)

int thrd_create( thrd_t *thr, thrd_start_t func, void *arg );

int thrd_detach( thrd_t thr );

thrd_t thrd_current(void);

int thrd_equal( thrd_t lhs, thrd_t rhs );

void thrd_exit( int res );

int thrd_join( thrd_t thr, int *res );

int thrd_sleep( const struct timespec* duration, struct timespec* remaining );

void thrd_yield(void);

void call_once( once_flag* flag, void (*func)(void) );

int cnd_init( cnd_t* cond );

int cnd_signal( cnd_t *cond );

int cnd_broadcast( cnd_t *cond );

int cnd_wait( cnd_t* cond, mtx_t* mutex );

int cnd_timedwait( cnd_t* restrict cond, mtx_t* restrict mutex,  const struct timespec* restrict time_point );

void cnd_destroy( cnd_t* cond );

int mtx_init( mtx_t* mutex, int type );

int mtx_lock( mtx_t* mutex );

int mtx_timedlock( mtx_t *restrict mutex, const struct timespec *restrict time_point );

int mtx_trylock( mtx_t *mutex );

int mtx_unlock( mtx_t *mutex );

void mtx_destroy( mtx_t *mutex );

int tss_create( tss_t* tss_key, tss_dtor_t destructor );

void *tss_get( tss_t tss_key );

int tss_set( tss_t tss_id, void *val );

void tss_delete( tss_t tss_id );

<time.h>

double difftime( time_t time2, time_t time1 );

time_t time( time_t *time );

clock_t clock();

char* asctime( const tm* time_ptr );

char* ctime( const time_t* time );

size_t strftime( char* str, size_t count, const char* format, tm* time );

size_t wcsftime( wchar_t* str, size_t count, const wchar_t* format, tm* time );

tm* gmtime( const time_t* time );

tm* localtime( const time_t *time );

time_t mktime( tm* time );

<uchar.h>(C11)

size_t mbrtoc16( char16_t * restrict pc16, const char * restrict s, size_t n, mbstate_t * restrict ps );

size_t c16rtomb( char * restrict s, char16_t c16, mbstate_t * restrict ps );

size_t mbrtoc32( char32_t restrict * pc32, const char * restrict s,  size_t n, mbstate_t * restrict ps );

size_t c32rtomb( char * restrict s, char32_t c32, mbstate_t * restrict ps );

<wchar.h>(C99)

long wcstol( const wchar_t* str, wchar_t** str_end, int base );

long long wcstoll( const wchar_t* str, wchar_t** str_end, int base );

unsigned long wcstoul( const wchar_t* str, wchar_t** str_end, int base );

unsigned long long wcstoull( const wchar_t* str, wchar_t** str_end, int base );

float wcstof( const wchar_t* str, wchar_t** str_end );

double wcstod( const wchar_t* str, wchar_t** str_end );

long double wcstold( const wchar_t* str, wchar_t** str_end );

long double wcstold( const wchar_t* str, wchar_t** str_end );

wchar_t* wcsncpy( wchar_t* dest, const wchar_t* src, size_t count );

wchar_t *wcscat( wchar_t *dest, const wchar_t *src );

wchar_t *wcsncat( wchar_t *dest, const wchar_t *src, size_t count );

size_t strxfrm( const wchar_t* dest, const wchar_t* src, size_t count );

size_t wcslen( const wchar_t *str );

int wcscmp( const wchar_t* lhs, const wchar_t* rhs );

int wcsncmp( const wchar_t* lhs, const wchar_t* rhs, size_t count );

int wcscoll( const wchar_t* lhs, const wchar_t* rhs );

const wchar_t* strchr( const wchar_t* str, wchar_t ch );

wchar_t* strchr( wchar_t* str, wchar_t ch );

const wchar_t* wcsrchr( const wchar_t* str, wchar_t ch );

wchar_t* wcsrchr( wchar_t* str, wchar_t ch );

size_t wcsspn( const wchar_t* dest, const wchar_t* src );

size_t wcscspn( const wchar_t* dest, const wchar_t* src );

const wchar_t* wcspbrk( const wchar_t* dest, const wchar_t* str );

wchar_t* wcspbrk( wchar_t* dest, const wchar_t* str );

const wchar_t* wcsstr( const wchar_t* dest, const wchar_t* src );

wchar_t* wcsstr( wchar_t* dest, const wchar_t* src );

wchar_t* wcstok( wchar_t* str, const wchar_t* delim );

wchar_t* wmemcpy( wchar_t* dest, const wchar_t* src, size_t count );

wchar_t* wmemmove( wchar_t* dest, const wchar_t* src, size_t count );

int wmemcmp( const wchar_t* lhs, const wchar_t* rhs, size_t count );

const wchar_t* wmemchr( const wchar_t* ptr, wchar_t ch, size_t count );

wchar_t* wmemchr( wchar_t* ptr, wchar_t ch, size_t count );

wchar_t* wmemset( wchar_t* dest, wchar_t ch, size_t count );

wint_t fgetwc( FILE *stream );

wint_t getwc( FILE *stream );

wchar_t *fgetws( wchar_t *str, int count, FILE *stream );

wint_t fputwc( wchar_t ch, FILE *stream );

wint_t putwc( wchar_t ch, FILE *stream );

int fputws( const wchar_t *str, FILE *stream );

wint_t getchar();

wint_t putwchar( wchar_t ch );

wint_t ungetc( wint_t ch, FILE *stream );

int wscanf( const wchar_t* format, ... );

int fwscanf( FILE *stream, const wchar_t* format, ... );

int swscanf( const wchar_t* buffer, const wchar_t* format, ... );

int vwscanf( const wchar_t* format, va_list vlist );

int vfwscanf( FILE *stream, const wchar_t* format, va_list vlist );

int vswscanf( const wchar_t* buffer, const wchar_t* format, va_list vlist );

int wprintf( const wchar_t* format, ... );

int fwprintf( FILE *stream, const wchar_t* format, ... );

int swprintf( char *buffer, const wchar_t* format, ... );

int vwprintf( const wchar_t* format, va_list vlist );

int vfwprintf( FILE* stream, const wchar_t* format, va_list vlist );

int vswprintf( const wchar_t* buffer, const wchar_t* format, va_list vlist );

int mbsinit( const mbstate_t* ps);

wint_t btowc( int c );

int wctob( wint_t c );

size_t mbrlen( const char* s, size_t n, mbstate_t* ps );

size_t mbrtowc( wchar_t* pwc, const char* s, size_t n, mbstate_t* ps );

size_t wcrtomb( char* s, wchar_t wc, mbstate_t* ps);

size_t mbsrtowcs( wchar_t* dst, const char** src, size_t len, mbstate_t* ps ) ;

size_t wcsrtombs( char* dst, const wchar_t** src, size_t len, mbstate_t* ps ) ;

<wctype.h>(C99)

int iswalnum(int ch);

int iswalpha(int ch);

int iswlower(int ch);

int iswupper( int ch );

int iswdigit( int ch );

int iswxdigit( wint_t ch );

int iswcntrl( int ch );

int iswgraph( int ch );

int iswspace( int ch );

int iswblank( int ch );

int iswprint( int ch );

int iswpunct( int ch );

int iswctype( wint_t ch, wctype_t desc );

wctype_t wctype( const char* str );

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 218,122评论 6 505
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 93,070评论 3 395
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 164,491评论 0 354
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 58,636评论 1 293
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 67,676评论 6 392
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 51,541评论 1 305
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 40,292评论 3 418
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 39,211评论 0 276
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 45,655评论 1 314
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 37,846评论 3 336
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 39,965评论 1 348
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 35,684评论 5 347
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 41,295评论 3 329
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 31,894评论 0 22
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 33,012评论 1 269
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 48,126评论 3 370
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 44,914评论 2 355

推荐阅读更多精彩内容