2 fputs - write a string to a file
8 fd file stream open for writing
14 This function writes in succession the strings s1, s2, ..., to the
15 file associated with fd.
18 ; fd = fopen("/tmp/newfile", "w")
19 ; fputs(fd, "chongo was", " here\n")
20 ; fd2 = fopen("/tmp/newfile", "r")
25 The number of arguments is not to exceed 1024
31 errno, fclose, feof, ferror, fflush, fgetc, fgetfile, fgetline, fgets,
32 files, fopen, fprintf, fputc, fseek, fsize, ftell, isfile
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: fputs,v 30.1 2007/03/16 11:10:42 chongo Exp $
52 ## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fputs,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/