home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.minix
- Path: sparky!uunet!mcsun!Germany.EU.net!uniol!Frank.Neumann
- From: Frank.Neumann@arbi.informatik.uni-oldenburg.de (Frank Neumann)
- Subject: Re: Help with vfprintf
- Organization: University of Oldenburg, Germany
- Date: Mon, 31 Aug 1992 01:41:06 GMT
- Message-ID: <1992Aug31.014358.188@arbi.Informatik.Uni-Oldenburg.DE>
- References: <1992Aug29.193752.3921@udel.edu>
- Sender: news@arbi.Informatik.Uni-Oldenburg.DE
- Lines: 38
-
-
- Hi there,
- Victor Moreno wrote:
-
- >I was trying to compile the ksh shell for MINIX when the compiler
- >complained about the function
-
- > vfprintf
-
- >It is defined in stdio.h, but it is not in the library libc.a and I can't
- >find the source code where it should be. The only one similar is vsprintf.
-
- This is from ftp.thp.uni-koeln.de, /pub/minix/portable/vfprintf.c:
- ---------- cut here ------------------------------------------
- #include <lib.h>
- #include <stdarg.h>
- #include <stdio.h>
-
- int vfprintf(file, fmt, args) FILE *file; char *fmt; va_list args;
- {
- _doprintf(file, fmt, args);
- }
- ------------ cut here again -----------------------------------
-
- Just compile this with
- cc vfprintf.c -c -o vfprintf.o
- and link it to the rest. That should be all.
-
- Bye,
- Frank
- --
- + Frank Neumann, Hauptstr. 107, 2900 Oldenburg, FRG The Amiga is it. +
- + InterNet: Frank.Neumann@arbi.informatik.uni-oldenburg.de +
- + UUCP: neumann@uniol.uucp \\// InHouse:amigo@faramir +
- + Zerberus: neumann@uniol.zer BitNet:295391@DOLUNI1.BITNET IRC: Franky +
- + "All die Manta-Computer-User - Hauptsache vorne leuchtet 33Mhz auf..." +
- + - Stefan Schulze in fido.ger.amiga, 04.08.1992 +
-
-