|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
#include <ctype.h>#include <errno.h>#include <signal.h>#include <stddef.h>#include <stdarg.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <rw_process.h>#include <rw_driver.h>#include <rw_printf.h>#include <sys/wait.h>#include <unistd.h>#include <setjmp.h>#include <time.h>
Go to the source code of this file.
Macros | |
| #define | _RWSTD_TEST_SRC |
| #define | E2BIG 7 /* AIX, HP-UX, Linux, Solaris */ |
| #define | EINTR 4 |
| #define | SIGCHLD 18 |
| #define | SIGALRM 14 |
| #define | SIGHUP 1 |
| #define | SIGQUIT 3 |
| #define | SIGKILL 9 |
Typedefs | |
| typedef void(* | signal_handler_t) (int) |
Functions | |
| _TEST_EXPORT int | rw_vasnprintf (char **, size_t *, const char *, va_list) |
| _TEST_EXPORT int | rw_system (const char *cmd,...) |
| _TEST_EXPORT rw_pid_t | rw_process_create (const char *cmd,...) |
| _TEST_EXPORT rw_pid_t | rw_process_create (const char *path, char *const argv[]) |
| _TEST_EXPORT rw_pid_t | rw_waitpid (rw_pid_t pid, int *presult, int timeout) |
| _TEST_EXPORT int | rw_process_kill (rw_pid_t pid, int signo) |
| #define _RWSTD_TEST_SRC |
process.cpp - definitions of testsuite process helpers
$Id$
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition at line 28 of file process.cpp.
| #define E2BIG 7 /* AIX, HP-UX, Linux, Solaris */ |
Definition at line 50 of file process.cpp.
| #define EINTR 4 |
Definition at line 54 of file process.cpp.
| #define SIGALRM 14 |
Definition at line 71 of file process.cpp.
| #define SIGCHLD 18 |
Definition at line 65 of file process.cpp.
| #define SIGHUP 1 |
Definition at line 75 of file process.cpp.
| #define SIGKILL 9 |
Definition at line 83 of file process.cpp.
| #define SIGQUIT 3 |
Definition at line 79 of file process.cpp.
| typedef void(* signal_handler_t) (int) |
Definition at line 528 of file process.cpp.
| _TEST_EXPORT rw_pid_t rw_process_create | ( | const char * | cmd, |
| ... | |||
| ) |
Definition at line 395 of file process.cpp.
| _TEST_EXPORT rw_pid_t rw_process_create | ( | const char * | path, |
| char *const | argv[] | ||
| ) |
Definition at line 409 of file process.cpp.
| _TEST_EXPORT int rw_process_kill | ( | rw_pid_t | pid, |
| int | signo | ||
| ) |
Definition at line 663 of file process.cpp.
| _TEST_EXPORT int rw_system | ( | const char * | cmd, |
| ... | |||
| ) |
Definition at line 328 of file process.cpp.
| _TEST_EXPORT int rw_vasnprintf | ( | char ** | pbuf, |
| size_t * | pbufsize, | ||
| const char * | fmt, | ||
| va_list | varg | ||
| ) |
Definition at line 946 of file printf.cpp.
| _TEST_EXPORT rw_pid_t rw_waitpid | ( | rw_pid_t | pid, |
| int * | presult, | ||
| int | timeout | ||
| ) |
Definition at line 533 of file process.cpp.