| [ CnUnix ] in KIDS 글 쓴 이(By): granite (방랑자) 날 짜 (Date): 2004년 1월 8일 목요일 오전 10시 40분 45초 제 목(Title): [Q]헤더 화일안의 __BEGIN_NAMESPACE_STD � source insight를 통해 삼바로 소스화일을 보다 printf, fprintf 같은 함수가 highlight되지 않아 /usr/include/stdio.h 를 보니 함수들이 다음과 같이 __BEGIN_NAMESPACE_STD __END_NAMESPACE_STD로 묶여 있더군요. __BEGIN_NAMESPACE_STD /* Write formatted output to STREAM. */ extern int fprintf (FILE *__restrict __stream, __const char *__restrict __format, ...) __THROW; /* Write formatted output to stdout. */ extern int printf (__const char *__restrict __format, ...) __THROW; /* Write formatted output to S. */ extern int sprintf (char *__restrict __s, __const char *__restrict __format, ...) __THROW; /* Write formatted output to S from argument list ARG. */ extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, _G_va_list __arg) __THROW; /* Write formatted output to stdout from argument list ARG. */ extern int vprintf (__const char *__restrict __format, _G_va_list __arg) __THROW; /* Write formatted output to S from argument list ARG. */ extern int vsprintf (char *__restrict __s, __const char *__restrict __format, _G_va_list __arg) __THROW; __END_NAMESPACE_STD #if defined __USE_BSD || defined __USE_ISOC99 || defined __USE_UNIX98 __BEGIN_NAMESPACE_C99 _BEGIN_NAMESPACE_STD _END_NAMESPACE_STD 이게 어떤 의미이고 왜 쓰이는 건지요? 그리고 시스템 상에서 위의 __USE_BSD, __USE_UNIX98 같이 시스템에 따라 define되 상수값을 확인할수 있는 명령어들이 혹시 있나요? |