commit | 876d44c4a3d3b6d32bf4ed1ab1083f866f5f2aa0 | [log] [tgz] |
---|---|---|
author | Luca Weiss <luca.weiss@fairphone.com> | Tue Nov 30 14:33:36 2021 +0100 |
committer | Luca Weiss <luca.weiss@fairphone.com> | Tue Nov 30 14:46:06 2021 +0100 |
tree | 3d495470e7d9235f7daf05ab59be3f547696b10e | |
parent | 1909b54d546054280ae8ab33f0005a4cba1a16fc [diff] |
Simplify reading own process name Bionic libc provides getprogname which 'returns the name of the program' which is essentially what our custom readProcessName function does. The notable difference is that it returns the full process name (not only limited to 16 chars) as const char*, so adjust the code to work with that. Change-Id: I874911a82f6f784d8651d781083d2cc80ec840e1