Home | History | Annotate | Download | only in sched_stress
      1 /*
      2  *   Copyright (c) International Business Machines  Corp., 2001
      3  *
      4  *   This program is free software;  you can redistribute it and/or modify
      5  *   it under the terms of the GNU General Public License as published by
      6  *   the Free Software Foundation; either version 2 of the License, or
      7  *   (at your option) any later version.
      8  *
      9  *   This program is distributed in the hope that it will be useful,
     10  *   but WITHOUT ANY WARRANTY;  without even the implied warranty of
     11  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
     12  *   the GNU General Public License for more details.
     13  *
     14  *   You should have received a copy of the GNU General Public License
     15  *   along with this program;  if not, write to the Free Software
     16  *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
     17  */
     18 /*@(#)63  1.1  testcase/bpsc_str/sched.h, pvt_kernel, pv_kernel 12/11/96 16:43:19*/
     19 /*---------------------------------------------------------------------+
     20 |                                sched.h                               |
     21 | ==================================================================== |
     22 |                                                                      |
     23 | Description:  Simplistic test to verify the signal system function   |
     24 |               calls:                                                 |
     25 |                                                                      |
     26 | Last update:   Ver. 1.2, 4/10/94 23:05:59                           |
     27 |                                                                      |
     28 | Change Activity                                                      |
     29 |                                                                      |
     30 |   Version  Date    Name  Reason                                      |
     31 |    0.1     040294  DJK   Initial version for AIX 4.1                 |
     32 |    0.2     010402  Manoj Iyer Ported to Linux                        |
     33 |                                                                      |
     34 +---------------------------------------------------------------------*/
     35 
     36 #ifndef _H_COMMON
     37 #define _H_COMMON
     38 
     39 #include <sys/types.h>
     40 #include <unistd.h>
     41 #include <sys/wait.h>
     42 #include <string.h>
     43 #include <stdlib.h>
     44 #include <signal.h>
     45 #include <pwd.h>
     46 #include <time.h>
     47 #include <errno.h>
     48 #include <stdio.h>
     49 
     50 #define DEFAULT_PRIORITY 70
     51 
     52 #if 0
     53 int  openlog (char *);
     54 void logmsg (const char *, ...);
     55 #endif
     56 void sys_error (const char *, const char *, int);
     57 void error (const char *, const char *, int);
     58 
     59 #endif /* _H_COMMON */
     60