Linuxプログラミングで参考になるマニュアルのメモ。
man編
セクション番号
0pが使える。
% man 0p sdtio.h
これでstdio.hの関数定義一覧が見れる。zshだと、セクション番号入れると補完が利くのでかなり便利。
単語検索-Kと併用すれば・・・
% man 0p -K INT_MAX /usr/share/man/man0p/limits.h.0p.gz? [ynq]
一発で辿り着く。
info編
% info libc
The GNU C Library HTML版。
長い。ありえないくらい膨大なので、
% info libc Program\ Basics
Program Basics - The GNU C Library HTML版
このあたりから攻めるとよさげ。明確なサンプルが非常に参考になる。
In Unix systems you can define main a third way, using three arguments:
int main (int argc, char *argv[], char *envp[])
いきなりびびる。
- 2007-04-01
- info編を加筆。