Main Page   Packages   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

C:/temp/src/j2k/QNX4/driver/ser/exit.c

Go to the documentation of this file.
00001 #include <sys/proc_msg.h>
00002 #include <sys/kernel.h>
00003 #include <unistd.h>
00004 
00005 void exit( status )
00006 int status;
00007 {
00008    struct _proc_terminate msg;
00009 
00010    msg.type = _PROC_TERMINATE;
00011    msg.signum = 0;
00012    msg.xstatus = (long)status;
00013    Send( PROC_PID, &msg, &msg, sizeof(msg), 0 );
00014    /* The send will NOT return */
00015 }

Generated on Sun Oct 14 18:46:41 2001 for Standard J2K Library by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001