Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/tools/build/jam_src/execcmd.h @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

File size: 594 bytes
Line 
1/*
2 * Copyright 1993, 1995 Christopher Seiwald.
3 *
4 * This file is part of Jam - see jam.c for Copyright information.
5 */
6
7/*
8 * execcmd.h - execute a shell script
9 *
10 * 05/04/94 (seiwald) - async multiprocess interface
11 */
12
13typedef struct timing_info
14{
15    /* double elapsed; */  /* We don't know how to get this number on Unix */
16    double system;
17    double user;
18} timing_info;
19
20void execcmd(
21        char *string,
22        void (*func)( void *closure, int status, timing_info* ),
23        void *closure,
24        LIST *shell );
25
26int execwait();
27
28# define EXEC_CMD_OK    0
29# define EXEC_CMD_FAIL  1
30# define EXEC_CMD_INTR  2
Note: See TracBrowser for help on using the repository browser.