Content originally posted in LPCWare by jonper on Wed Mar 19 07:10:54 MST 2014
Hi
We are using a custom LCP4357 board with LPCOpen 2.09 and LPCXpresso v7.0.2 running on a Win7SP1 box to code syscall functions to interface Redlib (nohost) to POSIX functions on a custom FAT file system using the prototypes and definitions in Redlib's <sys/libconfig-arm.h>.
All of the syscalls seem to be working except Redlib's tmpfile which calls __sys_tmpnam both during the tmpfile call (as expected) and then later when that temporary file is closed. We have the first part working, but I can't deduce from the prototype what our actions and return value should be in response to the later __sys_tmpnam call on closing.
Do you have a document or code clip that could clear this up. Better still, do you have any such documents for the other Redlib syscalls?
Thanks