diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-12-26 12:14:59 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-12-26 12:14:59 +0000 |
commit | ec5a6f8c5e93048f1b8d805d6858b0c8b49a30c8 (patch) | |
tree | c1a352c4f479768108474ca27a491ef87f95c473 /sync_pipe.h | |
parent | b467ecfc8b5920e9676a7df034c46b0441b1cf0b (diff) |
pipe_write_header() should return ssize_t, as it returns the return
value from write(), which, at least on UN*X, is ssize_t.
svn path=/trunk/; revision=46779
Diffstat (limited to 'sync_pipe.h')
-rw-r--r-- | sync_pipe.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sync_pipe.h b/sync_pipe.h index e35ee99dce..1be428db98 100644 --- a/sync_pipe.h +++ b/sync_pipe.h @@ -63,7 +63,7 @@ #define SP_QUIT 'Q' /* "gracefully" capture quit message (SIGUSR1) */ /* write a single message header to the recipient pipe */ -extern size_t +extern ssize_t pipe_write_header(int pipe_fd, char indicator, int length); /* write a message to the recipient pipe in the standard format |