-/* Copyright (C) 1993, 1996-2000, 2002, 2008 Free Software Foundation, Inc.
+/* Copyright (C) 1993-2019 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
#undef fwrite_unlocked
-_IO_size_t
-fwrite_unlocked (buf, size, count, fp)
- const void *buf;
- _IO_size_t size;
- _IO_size_t count;
- _IO_FILE *fp;
+size_t
+fwrite_unlocked (const void *buf, size_t size, size_t count, FILE *fp)
{
- _IO_size_t request = size * count;
- _IO_size_t written = 0;
+ size_t request = size * count;
+ size_t written = 0;
CHECK_FILE (fp, 0);
if (request == 0)
return 0;