kawauso_process/process_id.rs
1//! The identifier that the operating system gives a command
2
3use typed_fields::number;
4
5number!(
6 /// The identifier that the operating system gives a command
7 ///
8 /// The operating system gives an identifier to each command that it
9 /// starts, and a tool of the platform names a command by this value. An
10 /// application that writes the identifier to a log, or that gives it to
11 /// such a tool, reads the value from a run or from its result.
12 ///
13 /// The identifier names the command while the command runs. The
14 /// operating system can give the value to another command after the
15 /// command ended, so a caller that keeps the value holds a name and not
16 /// a command.
17 ProcessId,
18 u32
19);