printf format

Wm E. Davidsen Jr davidsen at sixhub.UUCP
Wed Dec 27 10:12:20 AEST 1989


  One way to do any unsupported format is to implement a procedure which
does what you want and returns a pointer to char which you can use with
the %s format. If you want to call it more than once as an argument to a
single printf call you have to pass in a buffer. Other wise you can use
an internal buffer.
-- 
	bill davidsen - sysop *IX BBS and Public Access UNIX
davidsen at sixhub.uucp		...!uunet!crdgw1!sixhub!davidsen

"Getting old is bad, but it beats the hell out of the alternative" -anon



More information about the Comp.lang.c mailing list