안녕하세요.
O'Reilly의 Unix Systems Programming for SVR4에 나온 코드입니다.
컴파일이 되는 코드인가요? ^^;;
궁금해요
Solaris에서 gcc로 컴파일을 하면
bash-2.05# g++ bsort-length.c
bsort-length.c: In function `int main(int, char**)':
bsort-length.c:52: error: `exit' undeclared (first use this function)
bsort-length.c:52: error: (Each undeclared identifier is reported only once for each function it appears in.)
bash-2.05#
요렇게 나옵니다.
제가 타이핑한 것이 안되어 소스코드를 그대로 받아 실행했는데도
안되서요. 원래 안되는 코드인지 궁금합니다.