diff options
author | Jim Meyering <jim@meyering.net> | 2002-10-06 14:55:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-10-06 14:55:12 +0000 |
commit | 926546dcac12cb654c650d07b42f2bc1f663f7b9 (patch) | |
tree | 4d383e37b4f324460ffc45b0c03d63b0fa28945a /lib | |
parent | e70e42fa664efe82ca3cfd98d14ef8933b1d6d5f (diff) | |
download | coreutils-926546dcac12cb654c650d07b42f2bc1f663f7b9.tar.xz |
Update prototype.
(SAFE_READ_ERROR): Define.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/safe-read.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/safe-read.h b/lib/safe-read.h index 8e4b165cb..eef929822 100644 --- a/lib/safe-read.h +++ b/lib/safe-read.h @@ -6,5 +6,7 @@ # endif #endif -ssize_t +#define SAFE_READ_ERROR ((size_t) -1) + +size_t safe_read PARAMS ((int desc, void *ptr, size_t len)); |