aboutsummaryrefslogtreecommitdiff
path: root/butl/process
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-12 15:03:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-12 15:03:31 +0200
commit4b8511e2618c2813808011c228d22669945589e6 (patch)
tree01269cf3e653ad6312ac7ba7fca104364ffacd01 /butl/process
parent550b5257aba507bcce98f6832b8905769a14955d (diff)
Add process::id(), make few minor fixes
Diffstat (limited to 'butl/process')
-rw-r--r--butl/process3
1 files changed, 3 insertions, 0 deletions
diff --git a/butl/process b/butl/process
index 6f22718..c138edc 100644
--- a/butl/process
+++ b/butl/process
@@ -347,6 +347,9 @@ namespace butl
print (std::ostream&, const char* const args[], size_t n = 0);
public:
+ id_type
+ id () const;
+
static id_type
current_id ();