| [ CnUnix ] in KIDS 글 쓴 이(By): jig (*정인기*) 날 짜 (Date): 1996년03월30일(토) 10시49분04초 KST 제 목(Title): [Q] /usr/include/sys/ucontext.h 위에 쓴 파일이 이상한 것 같아요./../ 뭐든지 컴파일만 하면 그 부분에서 에러가 나거든요.... 고수님들의 조언을 기다리겠습니다.... 이 파일에서 25 째 줄에서 항상 에러가 납니다... 어떻게 해야 할지요... 다른 곳에 있는 파일과 비교할수 있다면 좋겠는데... 다른데는 이 파일이 없더라구요... 이 파일이 있는 데는 솔라리스 2.4 를 풀로 깐데뿐이 더라구요... 저희 학교는 원래 선오에스 4.1.3 을 쓰고 있어서....없네요... 고수님들의 조언을.... 다음은 그 파일의 내용입니다.... 그럼 부탁드립니다.... /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */ /* The copyright notice above does not evidence any */ /* actual or intended publication of such source code. */ #ifndef _SYS_UCONTEXT_H #define _SYS_UCONTEXT_H #pragma ident "@(#)ucontext.h 1.13 94/03/17 SMI" /* from SVr4.0 1.10 */ #include <sys/types.h> #include <sys/regset.h> #include <sys/signal.h> #ifdef __cplusplus extern "C" { #endif typedef struct ucontext { u_long uc_flags; struct ucontext *uc_link; sigset_t uc_sigmask; # stack_t uc_stack; mcontext_t uc_mcontext; long uc_filler[23]; } ucontext_t; #define GETCONTEXT 0 #define SETCONTEXT 1 /* * values for uc_flags * these are implementation dependent flags, that should be hidden * from the user interface, defining which elements of ucontext * are valid, and should be restored on call to setcontext */ #define UC_SIGMASK 001 #define UC_STACK 002 #define UC_CPU 004 #define UC_MAU 010 #define UC_FPU UC_MAU #define UC_INTR 020 #define UC_MCONTEXT (UC_CPU|UC_FPU) /* * UC_ALL specifies the default context */ #define UC_ALL (UC_SIGMASK|UC_STACK|UC_MCONTEXT) #ifdef _KERNEL void savecontext(ucontext_t *, k_sigset_t); #endif #ifdef __cplusplus } #endif #endif /* _SYS_UCONTEXT_H */ =============== 그럼 ... 나만의 사랑을 찾고 싶었다... 동서공과대학교 컴퓨터 공학과 94학번 그러나 그건 하늘의 뜻이라는걸 알았다... 누리이음 정 인 기 지금의 슬픔을 하늘은 아는지 모르는지... jig@kowon.dongseo.ac.kr 언제일지 몰라도 주소가 바뀔껄요 jingi@kowon.dongseo...로 |