Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Library C

a. <assert.h>
Assert(), abort()

b. <errno.h>
edom
erange
eilseq

c. <fenv.h>
int feclearexcept (int excepts );
int fegetenv (fenv_t * penv );
int fegetexceptflag (fexcept_t * pflag , int excepts );
int fegetround (void);
int feholdexcept (fenv_t * penv );
int feraiseexcept (int excepts );
int fesetenv (const fenv_t * penv );
int fesetexceptflag (const fexcept_t * pflags , int excepts );
int fesetround (int round );
int fetestexcept (int excepts );
int feupdateenv (const fenv_t * penv );

d. <ctype.h>
isalnum
isalpha
isblank
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
konversi Karakter
tolower
toupper

e. <iso646.h>
dan &&
and_eq &=
bitand &
bitor |
compl ~
not !
not_eq !=
or ||
or_eq |=
xor ^
xor_eq ^=

f. <limits.h>
stdint.h

g. <inttypes.h>
stdint.h, printf, scanf, intmax_t tipe.

h. <locale.h>
struct lconv* localeconv( void );
char * setlocale( int , const char *)

i. <math.h>
acos
asin
atan
atan2
ceil
cos
cosh
exp
fabs
floor
fmod
frexp
ldexp
log
log10 modf( x , p )
pow( x , y )
sin
sinh
sqrt
tan
tanh

j. <setjmp.h>
int setjmp(jmp_buf env)
void longjmp(jmp_buf env, int value)

k. <signal.h>
int raise(int sig)
psignal (int sig, const char *s)
void* signal(int sig, void (*func)(int))

l. <stdarg.h>
va_list
va_start
va_arg
va_end
va_copy
m. <stdbool.h>
bool yang mengekspansi _Bool
true which expands to 1
false which expands to 0
bool_true_false_are_defined which expands to 1

n. <stddef.h>
NULL
offsetof (tipe, anggota)
size_t
wchar_t
ptrdiff_t

o. <stdint.h>
int N _t
uint _t N

p. <complex.h>
double cabs(double complex);
double complex cacos(double complex);
double complex cacosh(double complex);
double carg(double complex);
double complex casin(double complex);
double complex casinh(double complex);
double complex catan(double complex);
double complex catanh(double complex);
double complex ccos(double complex);
double complex ccosh(double complex);
double complex cexp(double complex);
double cimag(double complex);
double complex clog(double complex);
double complex conj(double complex);
double complex cpow(double complex, double complex);
double complex cproj(double complex);
double creal(double complex);
double complex csin(double complex);
double complex csinh(double complex);
double complex csqrt(double complex);
double complex ctan(double complex);
double complex ctanh(double complex);

q. <stdio.h>
fclose
fopen, freopen
remove
rename
rewind
tmpfile
clearerr
feof
ferror
fflush
fgetpos
fgetc
fgets
fputc
fputs
ftell
fseek
fsetpos
fread
fwrite
getc
getchar
gets
printf, vprintf
fprintf, vfprintf
sprintf, snprintf, vsprintf, vsnprintf
perror
putc
putchar
scanf, vscanf
fscanf, vfscanf
sscanf, vsscanf
setbuf, setvbuf
tmpnam
ungetc
puts

r. <string.h>
void * memcpy (void *dest, const void *src, size_t n);
void *memmove(void *dest, const void *src, size_t n);
void *memchr(const void *s, int c, size_t n);
int memcmp(const void *s1, const void *s2, size_t n);
void *memset(void *, int c, size_t n);
char * strcat (char *dest, const char *src);
char * strncat (char *dest, const char *src, size_t n);
char *strchr(const char *, int c);
char * strrchr (const char *, int c);
int strcmp (const char *, const char *);
int strncmp (const char *, const char *, size_t n);
int strcoll (const char *, const char *);
char * strcpy (char *dest, const char *src);
char * strncpy (char *dest, const char *src, size_t n);
char * strerror (int); size_t strlen (const char *);
size_t strspn (const char *, const char *accept);
size_t strcspn (const char *, const char *reject);
char * strpbrk (const char *, const char *accept);
char * strstr (const char *haystack, const char *needle);
char * strtok (char *, const char * delim);
size_t strxfrm (char *dest, const char *src, size_t n);

s. <tgmath.h>
math.h
complex.h
t. <time.h>
char * asctime ( const struct tm* tmptr )
clock_t clock (void)
char* ctime ( const time_t* timer )
double difftime ( time_t timer2 , time_t timer1 )
struct tm* gmtime ( const time_t* timer )
struct tm* gmtime_r ( const time_t* timer , struct tm* result )
struct tm* localtime ( const time_t* timer )
time_t mktime ( struct tm* ptm )
time_t time (time_t* timer )
size t strftime (char* s , size t n , const char* format , const struct
tm* tptr )
char * strptime ( const char* buf , const char* format , struct tm*
tptr )
time_t timegm (struct tm *brokentime)

u. <wchar.h>
int wcscmp(const wchar_t *s1, const wchar_t *s2)
int wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n)
int wcscasecmp(const wchar_t *s1, const wchar_t *s2)
int wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n)

v. <wctype.h>
int iswalnum (wint_t ch );
int iswalpha (wint_t ch );
int iswblank (wint_t ch );
int iswcntrl (wint_t ch );
int iswctype (wint_t ch , wctype_t charclass );
int iswdigit (wint_t ch );
int iswgraph (wint_t ch );
int iswlower (wint_t ch );
int iswprint (wint_t ch );
int iswpunct (wint_t ch );
int iswspace (wint_t ch );
int iswupper (wint_t ch );
int iswxdigit (wint_t ch );
wint_t towctrans (wint_t ch , wctrans_t desc );
wint_t towlower (wint_t ch );
wint_t towupper (wint_t ch );
wctrans_t wctrans (const char * charclass );
wctype_t wctype (const char * property );

w. <Conio.h>
int kbhit(void)
int getch(void)
int getche(void)
int ungetch(int c)
char *cgets(char *buffer)
int cscanf(char *format, arg0,... argn)
int putch(int c)
int cputs(const char *string)
int cprintf(const char *format, arg0,... argn)
x. <float.h>
FLT_ROUNDS
FLT_EVAL_METHOD
FLT_RADIX
FLT_MANT_DIG , DBL_MANT_DIG , LDBL_MANT_DIG
DECIMAL_DIG
FLT_DIG , DBL_DIG , LDBL_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_MAX , DBL_MAX , LDBL_MAX
FLT_EPSILON , DBL_EPSILON , LDBL_EPSILON
FLT_MIN , DBL_MIN , LDBL_MIN

y. <stdlib.h>
atof
atoi
atol
strtod
strtol
strtoul
strtoll
strtoull
int rand(void)
int random(void) void
srand(unsigned int seed)
void srandom(unsigned int seed)
malloc , calloc, realloc
free
abort
atexit
exit
getenv
system
bsearch
max
min
qsort
int abs(int)
float fabs(float)
long int labs(long int)
div
ldiv
mblen
mbtowc

You might also like