Blame gnulib/full-write.h
|
Packit Service |
392537 |
/* An interface to write() that writes all it is asked to write.
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
Copyright (C) 2002-2003, 2009-2016 Free Software Foundation, Inc.
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
This program is free software: you can redistribute it and/or modify
|
|
Packit Service |
392537 |
it under the terms of the GNU General Public License as published by
|
|
Packit Service |
392537 |
the Free Software Foundation; either version 3 of the License, or
|
|
Packit Service |
392537 |
(at your option) any later version.
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
This program is distributed in the hope that it will be useful,
|
|
Packit Service |
392537 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
392537 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit Service |
392537 |
GNU General Public License for more details.
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
You should have received a copy of the GNU General Public License
|
|
Packit Service |
392537 |
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
#include <stddef.h>
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
#ifdef __cplusplus
|
|
Packit Service |
392537 |
extern "C" {
|
|
Packit Service |
392537 |
#endif
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
/* Write COUNT bytes at BUF to descriptor FD, retrying if interrupted
|
|
Packit Service |
392537 |
or if partial writes occur. Return the number of bytes successfully
|
|
Packit Service |
392537 |
written, setting errno if that is less than COUNT. */
|
|
Packit Service |
392537 |
extern size_t full_write (int fd, const void *buf, size_t count);
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
|
|
Packit Service |
392537 |
#ifdef __cplusplus
|
|
Packit Service |
392537 |
}
|
|
Packit Service |
392537 |
#endif
|