Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Typedefs | Functions
rw_process.h File Reference
#include <rw_testdefs.h>
Include dependency graph for rw_process.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef _RWSTD_SSIZE_T rw_pid_t
 

Functions

_TEST_EXPORT int rw_system (const char *,...)
 
_TEST_EXPORT rw_pid_t rw_process_create (const char *,...)
 
_TEST_EXPORT rw_pid_t rw_process_create (const char *, char *const [])
 
_TEST_EXPORT rw_pid_t rw_waitpid (rw_pid_t, int *, int=-1)
 
_TEST_EXPORT int rw_process_kill (rw_pid_t, int=-1)
 

Typedef Documentation

◆ rw_pid_t

rw_process.h - declarations 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 33 of file rw_process.h.

Function Documentation

◆ rw_process_create() [1/2]

_TEST_EXPORT rw_pid_t rw_process_create ( const char *  path,
char * const  argv[] 
)

Definition at line 409 of file process.cpp.

◆ rw_process_create() [2/2]

_TEST_EXPORT rw_pid_t rw_process_create ( const char *  cmd,
  ... 
)

Definition at line 395 of file process.cpp.

◆ rw_process_kill()

_TEST_EXPORT int rw_process_kill ( rw_pid_t  pid,
int  signo = -1 
)

Definition at line 663 of file process.cpp.

◆ rw_system()

_TEST_EXPORT int rw_system ( const char *  cmd,
  ... 
)

Definition at line 328 of file process.cpp.

◆ rw_waitpid()

_TEST_EXPORT rw_pid_t rw_waitpid ( rw_pid_t  pid,
int *  presult,
int  timeout = -1 
)

Definition at line 533 of file process.cpp.