Hassles with fprintf
Hans H. Huebner
pengo at tmpmbx.UUCP
Mon Jun 6 11:28:31 AEST 1988
Hello,
lately I ran into a problem while working at my sendmail port for XENIX.
Although sendmail runs fine so far, it always gave the bogus error message
"Not a character device" (ENOTTY) whenever something went wrong. I was able
to track down the producer of this errno value to be fprintf, and I
wondered if anyone here knows what's happening, since fprintf isn't
supposed to set errno to ENOTTY as far as i know. I have now kludged around
the problem with a fake fprintf which preserves the old errno, but I don't
think that's a good solution. Any clues ?
(Environment: Xenix 2.2 Development & O-System, generic AT klone)
Please respond directly since I don't normally read these groups due to
their massive volume.
Thanks,
Hans
--
Hans H. Huebner, netmbx | Telex: 186672 net d
Woerther Str. 36 | DOMAIN: pengo at netmbx.UUCP (sigh)
D-1000 Berlin 20, W.Germany | ..!{{pyramid,unido}!tub,altger}!netmbx!pengo
Phone: (+49 30) 332 40 15 | BITNET: huebner at db0tui6
More information about the Comp.unix.wizards
mailing list