TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mike Bilow
from: Bill Patterson
date: 1995-08-05 19:55:34
subject: Re: gcc2

* In a message originally to Mike Bilow, Bill Patterson writes:

 MB> Bill Patterson wrote in a message to Mike Bilow:
 MB> 
 MB>  BP> I found a fgets() routine in the K&R manual. It won't work
 MB>  BP> either. It just returns from the call with no one ever
 MB>  BP> typing anything in. I did a fflush(stdio) prior to the call
 MB>  BP> too. It looks like somethig is wrong with gcc so I'm trying
 MB>  BP> to get EMX going now. Thanks a ton for taking the time to
 MB>  BP> help me out. 
 MB> 
 MB> Maybe there is a more fundamental misunderstanding here than I thought at
 MB> first. If you post your code, then you might get some better advice.  You
 MB> seem to be dealing more with a generic C programming issue, though, not
 MB> anything specific to OS/2, so this might be more appropriately raised in
 MB> C_ECHO.
 MB>  
 MB> -- Mike

Mike, you gave me good advice before (use EMX). I've compiled the code at
school under unix and borland and it works fine. Something is wrong with
gcc2's io code. After I got EMX going I recompiled the same code and it
works fine (at home) too. Thanks for the help. Now if I can just figure out
how to drop to a SLIP from my BBS, I'll be happy.

Bill




--- LoraBBS-OS/2 v2.40+
* Origin: Planet X * Warp Co-Ordinates: 407-799-0975 (1:374/2528.0)
SEEN-BY: 105/42 620/243 711/401 409 410 413 430 807 808 809 934 955 712/407
SEEN-BY: 515 628 704 713/888 800/1 7877/2809
@PATH: 374/2528 1 3615/50 396/1 270/101 105/103 42 712/515 711/808 809 934

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™.