This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
> Hi all > > I am busy writing an app that needs to regularly write to the serial > port. The response time is fairly critical. I ahve read the serial > programming HOWTO but that deals mainly with reading, which I have > managed to get working fine. The problem I am having is that write() > does not seem to be immediate and seems to work sometimes. i need to > force the program to not cache writes to the serial port but > output them > directly. > > If someone could point me in the direction of some FM's (as in RTFM) I > would really appreciate it. Some pointers would also come in handy. Hmm, you might want to give a lot more details such as what platform you are running on? If you have an OS, you might want to have a look at the O_SYNC option of open(2). HTH, Y. ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |