os.h revision 8b53309823af3e793369a65df4e5b994292eb611
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb/* Copyright 2001-2004 Apache Software Foundation
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * Licensed under the Apache License, Version 2.0 (the "License");
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986fielding * you may not use this file except in compliance with the License.
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * You may obtain a copy of the License at
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * Unless required by applicable law or agreed to in writing, software
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * distributed under the License is distributed on an "AS IS" BASIS,
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * See the License for the specific language governing permissions and
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb * limitations under the License.
b38846b15c8891c6dec44dcc4f96ca40721bf663rbbAP_DECLARE_DATA extern int hold_screen_on_exit; /* Indicates whether the screen should be held open on exit*/
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb#define APACHE_MPM_DIR "server/mpm/netware" /* generated on unix */
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb/* Hold the screen open if there is an exit code and the hold_screen_on_exit flag >= 0 or the
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb hold_screen_on_exit > 0. If the hold_screen_on_exit flag is < 0 then close the screen no
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb matter what the exit code is. */
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb#define exit(s) {if((s||hold_screen_on_exit)&&(hold_screen_on_exit>=0)){pressanykey();}apr_terminate();exit(s);}
b38846b15c8891c6dec44dcc4f96ca40721bf663rbb#endif /* ! APACHE_OS_H */