diff options
author | Chip Salzenberg <chip@perl.com> | 1996-12-22 14:07:47 +1200 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-03-22 15:34:25 +1200 |
commit | 662a7e3f419913fcaac63451e3424478903b6e79 (patch) | |
tree | 306d8619151f81d781bc072e87994f81a1acdb66 /perlio.c | |
parent | f51d4af592c9b887ce9e5cd81ee4be01c8f37a36 (diff) | |
download | perl-662a7e3f419913fcaac63451e3424478903b6e79.tar.gz |
In perlio, fix vprintf() definition and define vfprintf()
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -585,7 +585,15 @@ Fpos_t *pos; #if (defined(PERLIO_IS_STDIO) || !defined(USE_SFIO)) && !defined(HAS_VPRINTF) int -vprintf(fd, pat, args) +vprintf(pat, args) +char *pat, *args; +{ + _doprnt(pat, args, stdout); + return 0; /* wrong, but perl doesn't use the return value */ +} + +int +vfprintf(fd, pat, args) FILE *fd; char *pat, *args; { |