Re: snprintf.

From: George Greer (greerga@circlemud.org)
Date: 05/02/99


On Sun, 2 May 1999, jon a. nielsen wrote:

>I just grabbed bpl15, and added Oasis 2.0 pre 4, and when I compiled, I
>got an unresolved external symbol error for snprintf. I found the
>prototype for it in stdio.h which is #include'd in sysdep.h which is
>#include'd in the files that I got the unresolved external symbol error
>in (genmob.c, genobj.c, genshp.c, and genzon.c), and I'm very confused
>about what's wrong. Any help would be greatly appreciated.

I'm using a not-yet standard function.

Change snprintf(x, y, "xyz", ...) to sprintf(x, "xyz", ...)

--
George Greer
greerga@circlemud.org


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST