2 fputc - write a character to a file
14 This function writes the first character in data to the file
18 ; fd = fopen("/tmp/newfile", "w")
20 ; fd2 = fopen("/tmp/newfile", "r")
25 fd must be associated with an open file
31 errno, fclose, feof, ferror, fflush, fgetc, fgetline, fgets, files, fopen,
32 fprintf, fputc, fputs, fseek, fsize, ftell, isfile, printf, prompt
34 ## Copyright (C) 1999 Landon Curt Noll
36 ## Calc is open software; you can redistribute it and/or modify it under
37 ## the terms of the version 2.1 of the GNU Lesser General Public License
38 ## as published by the Free Software Foundation.
40 ## Calc is distributed in the hope that it will be useful, but WITHOUT
41 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
42 ## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
43 ## Public License for more details.
45 ## A copy of version 2.1 of the GNU Lesser General Public License is
46 ## distributed with calc under the filename COPYING-LGPL. You should have
47 ## received a copy with calc; if not, write to Free Software Foundation, Inc.
48 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
50 ## @(#) $Revision: 30.1 $
51 ## @(#) $Id: fputc,v 30.1 2007/03/16 11:10:42 chongo Exp $
52 ## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fputc,v $
54 ## Under source code control: 1995/03/04 11:33:20
55 ## File existed as early as: 1995
57 ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
58 ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/