OSAPI  0.29
Open System API
proc_type_upid.h
1 // *****************************************************************************************
2 //
3 // File description:
4 //
5 // Author: Joao Costa
6 // Purpose: Proc module type Unique PID (upid) declarations
7 //
8 // *****************************************************************************************
9 
10 #ifndef OSAPI_PROC_TYPE_UPID_H_
11 #define OSAPI_PROC_TYPE_UPID_H_
12 
13 
14 // *****************************************************************************************
15 //
16 // Section: Import headers
17 //
18 // *****************************************************************************************
19 
20 // Generic OSAPI includes
21 #include "general/general.h"
22 
23 
24 
33 
34 // *****************************************************************************************
35 //
36 // Section: Define process related types
37 //
38 // *****************************************************************************************
39 
40 
45 {
46  struct
47  {
48  int64_t pid;
49  int64_t time;
50  };
51  Byte id[ 16 ];
52 };
53 
54 
56 typedef union osapi_proc_upid_U t_upid;
57 
60 
61 
62 #endif /* OSAPI_PROC_TYPE_UPID_H_ */
Byte
uint8_t Byte
Definition of a Byte type.
Definition: general_types.h:58
osapi_proc_upid_U
Definition: proc_type_upid.h:44
osapi_proc_upid_U::time
int64_t time
Startup time of the process, usually in seconds.
Definition: proc_type_upid.h:49
osapi_proc_upid_U::pid
int64_t pid
Process Identifier.
Definition: proc_type_upid.h:48