[comp.os.minix] stdarg vs. vararg, doprintf problems.

Leisner.Henr@xerox.com (Marty) (02/10/89)

Should Minix support the Ansi stdarg mechanism in addition to varargs.h
(which it has now)?

I recently tried to bring up the  doprintf formatter on a TI34010 and had
problems figuring out which way the stack went (I used a truly bizarre C
compiling which has uses two stacks -- a call stack and an argument stack)
-- it seems easier to rewrite doprintf with stdarg.h (supplied with the TI
GSP C compiler) than attempt to figure out the stacks (on top of that, I
couldn't pass doprintf through this C compiler).  This worked well.

Also, the printf family is supposed to return the number of characters
printed according to ANSI.  The minix routines  return nothing.  

What's the status on ansizing the Minix libraries?

marty
ARPA:	leisner.henr@xerox.com
GV:  leisner.henr
NS:  martin leisner:wbst139:xerox
UUCP:	hplabs!arisia!leisner
 

ast@cs.vu.nl (Andy Tanenbaum) (02/11/89)

In article <8419@louie.udel.EDU> Leisner.Henr@xerox.com (Marty) writes:
>What's the status on ansizing the Minix libraries?

I have done nothing so far, and won't be able to even look at ANSI/POSIX
seriously until I finish rewriting my architecture book.  I there are any
volunteers who want to help speed up the conversion from V7 to POSIX/ANSI,
all help is welcome.

Andy Tanenbaum (ast@cs.vu.nl)