diff options
author | Bruno Haible <bruno@clisp.org> | 2021-06-04 20:55:56 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2021-06-04 20:55:56 +0200 |
commit | 1db1ae8d610aa2a11e1812aaec4ada493b4d0911 (patch) | |
tree | 53c26e8d3d2f18c3872ec1829463a6e07c03e574 /lib/close-stream.h | |
parent | 0f9fb7c2598355f23117a257eae3e594afafc3cb (diff) | |
download | gnulib-1db1ae8d610aa2a11e1812aaec4ada493b4d0911.tar.gz |
Put GPLv3+ notices in source files where appropriate.
* lib/*.{h,c}: Use GPLv3+ notice whenever the module description says
so.
* build-aux/pmccabe.css: Likewise.
Diffstat (limited to 'lib/close-stream.h')
-rw-r--r-- | lib/close-stream.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/close-stream.h b/lib/close-stream.h index be3d4196b0..8a58a48e61 100644 --- a/lib/close-stream.h +++ b/lib/close-stream.h @@ -1,2 +1,20 @@ +/* Close a stream, with nicer error checking than fclose's. + + Copyright (C) 2006-2021 Free Software Foundation, Inc. + + This file 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 3 of the License, + or (at your option) any later version. + + This file 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, see <https://www.gnu.org/licenses/>. */ + #include <stdio.h> + int close_stream (FILE *stream); |