Hi
I need to write a file using ANSI C:-
From a computer having unix
To a computer attached on a serial port (this computer has Window CE)
I am able to make a connection with computer having Window CE with open function
e.g.
int fd;
fd = open("/dev/ttyS0", O_RDWR | O_NDELAY);
Now on this opened serial port I need to open a file and write some data on it and then save it on computer connected to serial port.
I checked there is a WriteFile function in probably in C#, I am looking for same in ANSI C because it allows to provide handle and filename as argument.
Please consider I am new to C.
Any help will be appreciated
Regards