>>86さん # gcc -Wall -o yptest yptest.c yptest.c: In function `main': yptest.c:17: warning: long int format, int arg (arg 4) yptest.c:17: warning: long int format, int arg (arg 5) yptest.c:17: warning: long int format, int arg (arg 6) yptest.c:17: warning: long int format, int arg (arg 7) yptest.c:17: warning: long int format, int arg (arg 8) yptest.c:17: warning: long int format, int arg (arg 9) # ./yptest # ./yptest "なにを書いても" getspnam: Bad file number
もちろん一般ユーザーでも結果は同じです。実行はNIS server上。 ちなみにSolaris 8にtruss, straceは有りました。 ltraceは無いみたいです。 かなり分かっていない感じなので精進してから再トライします。 System call = OS API? 出直します。