summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-05-06 17:58:57 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-05-06 17:58:57 +0000
commit5fc0603fdcd5280e514c08e5b49697b5b0d79806 (patch)
treeffa114e82c79a0c123384dc68df1d9c0de04786c /hurd
parent462fb014a03afeeb49ba2babd4a911351c3bac8a (diff)
(struct procinfo): Add exitstatus and sigcode members.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurd_types.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/hurd/hurd_types.h b/hurd/hurd_types.h
index 50887d2c..0638c1e7 100644
--- a/hurd/hurd_types.h
+++ b/hurd/hurd_types.h
@@ -61,6 +61,7 @@ typedef struct rusage rusage_t;
typedef struct flock flock_t;
typedef struct utsname utsname_t;
typedef struct stat io_statbuf_t;
+typedef struct statfs fsys_statfsbuf_t;
/* Parameters and flags in RPC calls */
@@ -210,22 +211,6 @@ enum file_storage_class
/* Data types */
-/* This structure is known to be 19 ints long in hurd_types.defs. */
-struct fsys_statfsbuf
-{
- long fsys_stb_type;
- long fsys_stb_bsize; /* fundamental allocation unit */
- long fsys_stb_iosize; /* optimal I/O transfer size */
- long fsys_stb_blocks; /* number of blocks (fsys_stb_bsize) */
- long fsys_stb_bfree; /* likewise */
- long fsys_stb_bavail; /* likewise */
- long fsys_stb_files;
- long fsys_stb_ffree;
- fsid_t fsys_stb_fsid;
- long fsys_stb_spare[9];
-};
-typedef struct fsys_statfsbuf fsys_statfsbuf_t;
-
#include <mach/task_info.h>
#include <mach/thread_info.h>
@@ -244,6 +229,8 @@ struct procinfo
pid_t pgrp;
pid_t session;
pid_t logincollection;
+ int exitstatus;
+ int sigcode;
int nthreads; /* size of pi_threadinfos */