|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
% stdout?
From: Cassio B. Caporal (cassio
ostec.com.br)
Date: Thu Nov 09 2006 - 10:37:33 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hey,
I have problems to print '%' in stdout... Suppose code below:
#include <stdio.h>
main() {
char foo[] = "bar=30%\n";
fprintf(stdout, bar);
}
OpenBSD returns : bar=30
Linux returns : bar=30%
How can I solve this? Thanks,
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]