Path: utzoo!attcan!uunet!charyb!dan From: dan@kfw.COM (Dan Mick) Newsgroups: comp.unix.wizards Subject: Re: stdio on SYSV vrs BSD Message-ID: <1990May2.045800.25928@kfw.COM> Date: 2 May 90 04:58:00 GMT References: <558@venice.SEDD.TRW.COM> Reply-To: dan@kfw.com (Dan Mick) Organization: KFW Corporation, Newbury Park, CA Lines: 16 In article <558@venice.SEDD.TRW.COM> waldorf@venice.sedd.trw.com (Jerry Waldorf) writes: > >In the file /usr/include/stdio.h on a BSD box, there is a defined: > >#define _IOSTRG 0100 > >What exactly is this used for? It's part of that strange hack to get sprintf and sscanf to work sort of the same way (f)printf and (f)scanf do. The routines invent a FILE structure, call common routines with that FILE structure's address, and set _IOSTRG in the flags field to get some special-casing in the common routines. > What is the equivalent on SYSV machines? I hope to God there isn't one.