Amigans Defender
Joined: 2006/12/2 13:27 Last Login
: Today 19:16
From Taranto, Italy
Group:
Staff members Moderators Registered Users
|
On linux when you use read() function on stdin and you use fcntl(STDIN_FILENO, F_SETFL, flag); reading became non blocking and when you click on enter the read buffer is returned and the second time is returned -1 as EOF Is there a way to do the same thing on AmigaOS4?
I've tried a client/server program and on OS4 (with newlib and clib2) there is no way to have the same behaviour
|