Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
123 user(s) are online (116 user(s) are browsing Forums)

Members: 1
Guests: 122

K-L, more...

Support us!

Headlines

 
  Register To Post  

Read() on OS4
Amigans Defender
Amigans Defender


See User information
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

i'm really tired...
Go to top
Re: Read() on OS4
Just popping in
Just popping in


See User information
@afxgroup

Do you mean something like the bahvior described in the first answer of this question?

Go to top
Re: Read() on OS4
Amigans Defender
Amigans Defender


See User information
basically I was unable to set STDIN unlocked while a socket was on and so it was stuck on Read().. now it is implemented correctly on clib2 and all linux examples are working correclty

i'm really tired...
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project