return (int) res;
return (int) (long int) res;
main (void){  pthread_t th;  void *res;  pthread_atfork (prepare, parent, child);  if (pthread_create (&th, NULL, thread, NULL) != 0)    error (EXIT_FAILURE, 0, "cannot create thread");  pthread_join (th, &res);  return (int) res;}