X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ffwriting.h;h=72af0b8dc8506c5a98dfad95c2288f56508c345c;hb=599a664564268f6a1b5895c928a59459c9851b2a;hp=b354186c85877d1a1a801e34214af80253a4dc0c;hpb=e13c2b4ab7062ba509df85d021ffc41eea06402a;p=gnulib.git diff --git a/lib/fwriting.h b/lib/fwriting.h index b354186c8..72af0b8dc 100644 --- a/lib/fwriting.h +++ b/lib/fwriting.h @@ -1,19 +1,18 @@ /* Retrieve information about a FILE stream. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2009-2011 Free Software Foundation, Inc. - This program is free software; you can redistribute it and/or modify + 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 - the Free Software Foundation; either version 2, or (at your option) - any later version. + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, - Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + You should have received a copy of the GNU General Public License + along with this program. If not, see . */ #include #include @@ -25,10 +24,12 @@ as fputc). freading and fwriting will never both be true. If STREAM supports - both reads and writes, then both freading and fwriting might be - false when the stream is first opened, after repositioning (such as - fseek, fsetpos, or rewind), after read encounters EOF, or after - fflush, depending on the underlying implementation. + both reads and writes, then: + - both freading and fwriting might be false when the stream is first + opened, after read encounters EOF, or after fflush, + - freading might be false or true and fwriting might be false + after repositioning (such as fseek, fsetpos, or rewind), + depending on the underlying implementation. STREAM must not be wide-character oriented. */