Manual sections
The manual is generally split into eight numbered sections, organized as follows (on Research Unix, BSD, OS X and Linux):
Section Description
-------------------------------------------------------------------------------------------------------
1 General commands
2 System calls
3 Library functions, covering in particular the C standard library
4 Special files (usually devices, those found in /dev) and drivers
5 File formats and conventions
6 Games and screensavers
7 Miscellanea
8 System administration commands and daemons
-------------------------------------------------------------------------------------------------------
man 3 printf
man 2 open
man page 프린트 하기
1) man -t 명령어또는 함수 > 파일이름.ps
2) ps2pdf 파일이름.ps 파일이름.pdf
user0@pc0:~/linux_system_programming$ man -t 2 open > open.ps user0@pc0:~/linux_system_programming$ ps2pdf open.ps open.pdf user0@pc0:~/linux_system_programming$ evince open.pdf |
다음 처럼 한꺼번에 처리 할 수도 있다.
user0@pc0:~/linux_system_programming$ man -t 3 printf | ps2pdf - printf.pdf |
'그룹명2 > LINUX' 카테고리의 다른 글
참고: Joinc와 함께하는 리눅스 시스템 프로그래밍 (0) | 2016.04.20 |
---|---|
리눅스 동적 라이브러리 만들기 (0) | 2016.04.20 |
리눅스 정적 라이브러리 만들기 (0) | 2016.04.20 |
grep 이용해서 디렉토리 검색 (0) | 2016.04.18 |
Ubuntu 리눅스 패키지(Package) 관리 (0) | 2014.09.19 |