Sounds like you do need to use the f* functions. Also as another poser responded make sure you are using the correct arguments for the fopen. -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Herbert Graf Sent: Monday, February 16, 2004 2:35 PM To: PICLIST@MITVMA.MIT.EDU Subject: Re: [EE]: Serial Port and Linux > Are you using fflush() after your sends, this flushes the buffer > when your > send string is small and forces a complete send of your data. Hmm, no, I can't use it since I'm not using fopen, but open instead. Should I be using the f* functions instead (i.e. fopen, fwrite, fclose, etc.). Thanks, TTYL ---------------------------------- Herbert's PIC Stuff: http://repatch.dyndns.org:8383/pic_stuff/ -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads