1N/A/* An interface to read and write that retries after interrupts. 1N/A Copyright (C) 1993-1994, 1998, 2002-2006, 2009-2010 Free Software 1N/A This program is free software: you can redistribute it and/or modify 1N/A it under the terms of the GNU General Public License as published by 1N/A the Free Software Foundation; either version 3 of the License, or 1N/A (at your option) any later version. 1N/A This program is distributed in the hope that it will be useful, 1N/A but WITHOUT ANY WARRANTY; without even the implied warranty of 1N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1N/A GNU General Public License for more details. 1N/A You should have received a copy of the GNU General Public License 1N/A#
define const /* empty */ 1N/A/* Read(write) up to COUNT bytes at BUF from(to) descriptor FD, retrying if 1N/A interrupted. Return the actual number of bytes read(written), zero for EOF, 1N/A or SAFE_READ_ERROR(SAFE_WRITE_ERROR) upon error. */ 1N/A /* Work around a bug in Tru64 5.1. Attempting to read more than 1N/A INT_MAX bytes fails with errno == EINVAL. See 1N/A When decreasing COUNT, keep it block-aligned. */