From 926546dcac12cb654c650d07b42f2bc1f663f7b9 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 6 Oct 2002 14:55:12 +0000 Subject: Update prototype. (SAFE_READ_ERROR): Define. --- lib/safe-read.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)); -- cgit v1.2.3-70-g09d2