diff options
author | Laszlo Csomor <laszlocsomor@google.com> | 2016-11-18 10:16:08 +0000 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2016-11-18 10:54:52 +0000 |
commit | ae16e763ce161af4c34f55e469723accbd0a9f03 (patch) | |
tree | bce31d1dc57445493074b15cb6d88bb0ea02b07e /src/main/tools/linux-sandbox-pid1.h | |
parent | 6447ad9f0684a3719a092a8fc11cada2285a7fa0 (diff) |
Bazel client: reduce dependency on <unistd.h>
In this change:
- rename WriteFileToStreamOrDie to
WriteFileToStderrOrDie (since we only ever used it
for stderr)
- replace open/write/read/close operations with
blaze_util::ReadFile/WriteFile
- wrap ToString(getpid()) in a utility function
- move SyncFile to file_<platform>
--
MOS_MIGRATED_REVID=139560397
Diffstat (limited to 'src/main/tools/linux-sandbox-pid1.h')
0 files changed, 0 insertions, 0 deletions