procfs.h (93898f2b2d3339874ac31d935b8c67c67b6929ba) | procfs.h (7f08176ee8b672feebd8a12572b43dddcb88046e) |
---|---|
1/*- 2 * Copyright (c) 1998 John D. Polstra. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 66 unchanged lines hidden (view full) --- 75 76typedef struct prpsinfo { 77 int pr_version; /* Version number of struct (1) */ 78 size_t pr_psinfosz; /* sizeof(prpsinfo_t) (1) */ 79 char pr_fname[PRFNAMESZ+1]; /* Command name, null terminated (1) */ 80 char pr_psargs[PRARGSZ+1]; /* Arguments, null terminated (1) */ 81} prpsinfo_t; 82 | 1/*- 2 * Copyright (c) 1998 John D. Polstra. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 66 unchanged lines hidden (view full) --- 75 76typedef struct prpsinfo { 77 int pr_version; /* Version number of struct (1) */ 78 size_t pr_psinfosz; /* sizeof(prpsinfo_t) (1) */ 79 char pr_fname[PRFNAMESZ+1]; /* Command name, null terminated (1) */ 80 char pr_psargs[PRARGSZ+1]; /* Arguments, null terminated (1) */ 81} prpsinfo_t; 82 |
83#define THRMISC_VERSION 1 /* Current version of thrmisc_t */ 84 85typedef struct thrmisc { 86 char pr_tname[MAXCOMLEN+1]; /* Thread name, null terminated (1) */ 87 u_int _pad; /* Convenience pad, 0-filled (1) */ 88} thrmisc_t; 89 |
|
83typedef uint64_t psaddr_t; /* An address in the target process. */ 84 85#endif /* _SYS_PROCFS_H_ */ | 90typedef uint64_t psaddr_t; /* An address in the target process. */ 91 92#endif /* _SYS_PROCFS_H_ */ |