summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-10-06 14:55:12 +0000
committerJim Meyering <jim@meyering.net>2002-10-06 14:55:12 +0000
commit926546dcac12cb654c650d07b42f2bc1f663f7b9 (patch)
tree4d383e37b4f324460ffc45b0c03d63b0fa28945a /lib
parente70e42fa664efe82ca3cfd98d14ef8933b1d6d5f (diff)
downloadcoreutils-926546dcac12cb654c650d07b42f2bc1f663f7b9.tar.xz
Update prototype.
(SAFE_READ_ERROR): Define.
Diffstat (limited to 'lib')
-rw-r--r--lib/safe-read.h4
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));