Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/butil/process_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ namespace butil {

// Read command line of this program. If `with_args' is true, args are
// included and separated with spaces.
// Returns length of the command line on sucess, -1 otherwise.
// Returns length of the command line on success, -1 otherwise.
// NOTE: `buf' does not end with zero.
ssize_t ReadCommandLine(char* buf, size_t len, bool with_args);

// Get absolute path of this program.
// Returns length of the absolute path on sucess, -1 otherwise.
// Returns length of the absolute path on success, -1 otherwise.
// NOTE: `buf' does not end with zero.
ssize_t GetProcessAbsolutePath(char* buf, size_t len);

Expand Down
Loading