2 fputstr - send one or more null-terminated strings to a file
5 fputstr(fs, s_1, s_2, ...)
8 fs file stream open for writing
11 return null or error value
14 If the stream cannot be written to or an argument is of the wrong
15 type, an error value is returned.
17 Otherwise the strings s_1, s_2, ..., including the terminating
18 null characters ('\0') are written to the file stream fs.
21 ; f = fopen("/tmp/junk", "w")
22 ; fputstr(f, "Alpha", "Beta")
40 fgetstr, fgetfield, fgets, fputs, fopen, files, fprintf
42 ## Copyright (C) 1999-2006 Landon Curt Noll
44 ## Calc is open software; you can redistribute it and/or modify it under
45 ## the terms of the version 2.1 of the GNU Lesser General Public License
46 ## as published by the Free Software Foundation.
48 ## Calc is distributed in the hope that it will be useful, but WITHOUT
49 ## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
50 ## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
51 ## Public License for more details.
53 ## A copy of version 2.1 of the GNU Lesser General Public License is
54 ## distributed with calc under the filename COPYING-LGPL. You should have
55 ## received a copy with calc; if not, write to Free Software Foundation, Inc.
56 ## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
58 ## @(#) $Revision: 30.1 $
59 ## @(#) $Id: fputstr,v 30.1 2007/03/16 11:10:42 chongo Exp $
60 ## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/fputstr,v $
62 ## Under source code control: 1996/04/30 03:05:18
63 ## File existed as early as: 1996
65 ## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
66 ## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/