X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffull-write.c;h=ac27d620959ccea364e9af36028c4f9342eb3a7f;hb=c98e50278baa2c19aee3f16d13716f29ae41fdc6;hp=1e80b0a8ac2394769c74025fae62a565ce56bf32;hpb=060eff4260c58cbaef057bbc9e5da4293c380a73;p=gnulib.git diff --git a/lib/full-write.c b/lib/full-write.c index 1e80b0a8a..ac27d6209 100644 --- a/lib/full-write.c +++ b/lib/full-write.c @@ -1,5 +1,5 @@ /* 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 @@ -37,10 +37,7 @@ extern int errno; 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;