No empty .Rs/.Re
[netbsd-mini2440.git] / gnu / dist / diffutils / lib / setmode.h
blob7c7e5aaf42a820423e25177fb6b20fa2cf563ef7
1 /* $NetBSD$ */
3 /* Set a file descriptor's mode to binary or to text.
5 Copyright (C) 2001 Free Software Foundation, Inc.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; see the file COPYING.
19 If not, write to the Free Software Foundation,
20 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
22 /* Written by Paul Eggert <eggert@twinsun.com> */
24 #ifndef set_binary_mode
25 bool set_binary_mode (int, bool);
26 # if ! HAVE_SETMODE_DOS
27 # define set_binary_mode(fd, mode) 1
28 # endif
29 #endif