During my adventures porting some C libraries to ILE C I had some difficulties because IBM missed to stay up to date with the C compiler and standard library for the IBM i platform. Some functions that are available to almost all other platforms are missing on the IBM i platform, f. e. mkstemp. So here are some replacement functions bundled in one service program which can be used from any ILE language.
Here are the available replacement functions:
- mkstemp — create unique temporary file and return file descriptor