add ppoll(2) C linkage and pthread_attr_setinheritsched