Date: Thu, 15 Jan 1998 14:49:43 -0800 (PST) From: Alex <garbanzo@hooked.net> To: Greg Lehey <grog@lemis.com> Cc: FreeBSD Hackers <hackers@FreeBSD.ORG> Subject: Re: Why no sys/setjmp.h? Message-ID: <Pine.BSF.3.96.980115144707.253A-100000@zippy.dyn.ml.org> In-Reply-To: <19980115201816.30399@lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Jan 1998, Greg Lehey wrote: > On Thu, Jan 15, 1998 at 12:16:49AM -0800, Alex wrote: > > On Thu, 15 Jan 1998, Greg Lehey wrote: > > > >> I'm just writing kernel code which uses setjmp and longjmp, and I > >> discover that there are no header files with declarations of these > >> functions. How come? Are they deprecated in the kernel? Should I be > >> using something else instead? > > > > man 3 setjmp > > I'm writing *kernel* code. I don't think it maeks a big difference. zippy:/usr/src/sys#grep setjmp */*.c ddb/db_command.c:#include <setjmp.h> ddb/db_command.c: (void) setjmp(db_jmpbuf); ddb/db_trap.c:#include <setjmp.h> ddb/db_trap.c: if (setjmp(db_jmpbuf) == 0) zippy:/usr/src/sys#find . -name "setjmp.h" ./i386/include/setjmp.h ./alpha/include/setjmp.h You can try the same thing in the sys/i386 dir if you really wanted examples from i386/i386 ;-) El hombre mas brillante dijo una vez "Cuidado hay NT". (it's a nerd thing) - alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980115144707.253A-100000>