In my porting of stuff using APE, I often notice that many applications assume more members of the struct stat in sys/stat.h, especially st_blocksize. Is there any reasonable similar information available elsewhere in the system that could be used in a local "rpl_stat" struct for those ports?

other annoying stuff are normally related to malloc/alloca and sys/mtio.h 
stdint.h is normally easily just redirected to inttypes.h and stdbool.h can also easily included.


2012/12/18 erik quanstrom <quanstro@quanstro.net>
On Mon Dec 17 17:38:33 EST 2012, jas@corpus-callosum.com wrote:
> I'm not familiar with the full history of /sys/include/ape/errno.h, but it looks like EISCON should be EISCONN to fit with other systems that at least pretend to be POSIX compliant.  SunOS 5.11 did have EISCON, but...

makes sense to me; there are no references to EISCON
on the system other than the include file.

- erik