/* full-write.c -- an interface to write that retries after interrupts
- Copyright (C) 1993, 1994, 1997 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 1997, 1998 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Return LEN upon success, write's (negative) error code otherwise. */
int
-full_write (desc, ptr, len)
- int desc;
- char *ptr;
- size_t len;
+full_write (int desc, const char *ptr, size_t len)
{
int total_written;