bg.h 299 B

12345678910111213141516171819
  1. #ifndef _BG_H
  2. #define _BG_H
  3. #ifdef HAVE_CONFIG_H
  4. #include "config.h"
  5. #endif
  6. #include <sys/types.h>
  7. extern time_t lastfork;
  8. #if !defined(CYGWIN_HACKS) && !defined(__sun__)
  9. extern pid_t watcher;
  10. #endif
  11. pid_t do_fork();
  12. int close_tty();
  13. void writepid(const char *, pid_t);
  14. #endif /* !_BG_H */