C standard library
The elements of the C language library are also included as a subset of the C++ Standard library. These cover many aspects, from general utility functions and macros to input/output functions and dynamic memory management functions.
C 표준 라이브러리(C standard library)는 헤더 파일과 라이브러리 루틴이 모여 있는 것으로 C 프로그래밍 언어에서 입출력과 문자열 관리와 같은 일상적인 작업을 추가할 때 사용한다. 코볼, 포트란, PL/I와 같은 언어와 달리, C는 이러한 작업을 위해 키워드를 내장하고 있지 않으므로 거의 모든 C 프로그램들은 표준 라이브러리를 사용하여 기능을 구현한다.
cassert (assert.h) | C Diagnostics Library (header) | assert 매크로, 논리오류 및 디버깅 시 오류 형 등 지원한다. |
cctype (ctype.h) | Character handling functions (header) | 초기의 대-소 문자 변환 함수 제공. |
cerrno (errno.h) | C Errors (header) | 함수에서 발생하는 오류 형태 변환등의 오류처리. |
cfloat (float.h) | Characteristics of floating-point types (header) | 부동소수점 특성 정의. |
ciso646 (iso646.h) | ISO 646 Alternative operator spellings (header) | ISO 646 문자열 처리. |
climits (limits.h) | Sizes of integral types (header) | 정수형의 특성 정의. |
clocale (locale.h) | C localization library (header) | 로케일 관련 상수. 국제어 처리를 위한 적용. |
cmath (math.h) | C numerics library (header) | 수학 함수. |
csetjmp (setjmp.h) | Non local jumps (header) | setjmp 와 longjmp 매크로 선언. |
csignal (signal.h) | C library to handle signals (header) | 다양한 예외 처리 제어. |
cstdarg (stdarg.h) | Variable arguments handling (header) | 아규먼트 변수 처리. va_start, va_arg, va_end 함수 등. |
cstddef (stddef.h) | C Standard definitions (header) | 유용한 형과 매크로 정의/선언. |
cstdio (stdio.h) | C library to perform Input/Output operations (header) | C 언어의 입출력 제공. |
cstdlib (stdlib.h) | C Standard General Utilities Library (header) | 일반적인 유틸리티 라이브러리. |
cstring (string.h) | C Strings (header) | 문자열 조작. |
C Time Library (header) | 시간과 날짜 변환 함수. |
IOS C Library
complex.h | C99 | 복소수 처리용 세트. |
fenv.h | C99 | 부동소수점 환경 제어. |
inttypes.h | C99 | 정수형 변수의 정확한 변환. |
iso646.h | NA1 | ISO 646 문자열 처리. |
stdbool.h | C99 | 논리 변수. |
stdint.h | C99 | 정수형 변수의 각종 정의/선언. |
tgmath.h | C99 | 수학 함수에서 일반 형 변환 관련. |
wchar.h | NA1 | 국제어 등의 처리를 위한 확장 문자. |
wctype.h | NA1 | 확장 문자 처리. |
falinux C라이브러리 함수 설명
- falinux - wiki
- 데이터 변환 함수
- 파일 및 디렉토리 다루기
- 입출력 함수
- IPC 관련 함수
- 수학 함수
- 메모리 관리 함수
- 탐색과 정렬 함수
- 프로그램 실행 관련 함수
- 프로세서 관련 함수
- 시그널 관련 함수
- 소켓 관련 함수
- accept: 클라이언트 접속 요청 수락: Linux_c_socket-accept.pdf
- bind: 소켓에 IP주소와 포트번호 지정: Linux_c_socket-bind.pdf
- connect: 서버로 접속 요청: Linux_c_socket-connect.pdf
- gethostbyname: 도메인 이름으로 hostent 정보를 구함: Linux_c_socket-gethostbyname.pdf
- gethostname: 호스트 이름 구하기: Linux_c_socket-gethostname.pdf
- htnol: 호스트 바이트 순서를 네트워크 바이트 순서로: Linux_c_socket-htnol.pdf
- htnos: 호스트 바이트 순서를 네트워크 바이트 순서로: Linux_c_socket-htnos.pdf
- inet_addr: IP 문자열에서 long 형 숫자 IP주소를 구함: Linux_c_socket-inet_addr.pdf
- listen: 클라이언트 접속 요청이 있을 때 까지 대기: Linux_c_socket-listen.pdf
- ntohl: long 네트워크 바이스 순서를 호스트 바이트 순서로: Linux_c_socket-ntohl.pdf
- ntohs: short 네트워크 바이트 순서를 호스트 바이트 순서로: Linux_c_socket-ntohs.pdf
- recv: 소켓으로부터 자료 수신: Linux_c_socket-recv.pdf
- recvfrom: 소켓으로부터 자료 수신: Linux_c_socket-recvfrom.pdf
- send: 소켓으로 데이터 전송: Linux_c_socket-send.pdf
- sendto: 소켓으로 데이터를 전송: Linux_c_socket-sendto.pdf
- socket: 소켓 생성: Linux_c_socket-socket.pdf
- 날짜와 시간 함수
- 문자열 처리 함수
- 사용자와 그룹 관리 함수