
i'd like to thank the academy...
#if defined (MAXIOV) /* HP-UX */ # define MAX_LIMITED_IOVECS MAXIOV #elif defined (IOV_MAX) /* Solaris */ # define MAX_LIMITED_IOVECS IOV_MAX #elif defined (UIO_MAXIOV) /* MacOS X / BSD(?) */ # define MAX_LIMITED_IOVECS UIO_MAXIOV #elif defined (__APPLE__) /* Even though the write(2) man page mentions it, UIO_MAXIOV is only * available to the kernel on MacOS X 10.1 */ # define MAX_LIMITED_IOVECS 1024 #elif defined (MAX_IOVEC) /* Linux (old?) */ # define MAX_LIMITED_IOVECS MAX_IOVEC #endif
unix makes baby jesus cry.