From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079058315698.tru64-unix-managers.marc@archive.invalid> From: shirish jani Date: Mon, 05 Jul 1999 12:22:31 +0000 To: tru64-unix-managers Subject: problem with C compiler in DU 4.0d X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079058315698 Respected managers, I am facing problem in using printf() for printing arguments in variable order as mentioned in "man 3 printf" man pages on Digital UNIX ver 4.0d. It is working properly on SunOs 5.6 and SGI IRIX 6.3. The sample code is *************** #include main() { printf("%3$d", 1, 2,3);/* print 3rd argument in %d format */ } On SGI IRIX and SunOS it prints correct result i.e. third argument 3, but on DU 4.0d this code segment doesnt work.Function printf() returnts -1 with errno 0. Where I am going wrong?, any help is appriciated. Thanks in advance and Regards, Shirish Jani ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com