From bfa6ab6a0c37908f91a1bdffd66f678b461d04e5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 12 Dec 1995 03:27:28 +0000 Subject: (safe_stat): Function removed. --- misc.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'misc.c') diff --git a/misc.c b/misc.c index a27c240..a7e9e71 100644 --- a/misc.c +++ b/misc.c @@ -734,23 +734,3 @@ get_path_max () return value; } #endif - -/* On some systems, stat can return EINTR. */ - -int -safe_stat (name, buf) - char *name; - struct stat *buf; -{ - int ret; - -#ifdef EINTR - do -#endif - ret = stat (name, buf); -#ifdef EINTR - while (ret < 0 && errno == EINTR); -#endif - - return ret; -} -- cgit v1.2.3