| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | emx bug |
PE> #include
PE> int main(void)
PE> {
PE> char buf[50] = "5 6";
PE> int x, y;
PE> int ret;
PE> ret = sscanf(buf, "%d %d p", &x, &y);
PE> printf("ret is %d\n", ret);
PE> return (0);
PE> }
RM> Dunno about EMX, but quoting from my much-maligned Borland manual,
RM> "If sscanf attempts to read at end-of-string, the return value
is EOF."
And what happens when you run this program using your Borland
compiler? BFN.
Paul
@EOT:
---
* Origin: This is just another kludge line like SEENBY (3:711/934.9) |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.