envlock.h 350 B

123456789101112131415
  1. /* envlock.h -- header file for env routines. */
  2. #ifndef _INCLUDE_ENVLOCK_H_
  3. #define _INCLUDE_ENVLOCK_H_
  4. #include <_ansi.h>
  5. #include <sys/reent.h>
  6. #define ENV_LOCK __env_lock(reent_ptr)
  7. #define ENV_UNLOCK __env_unlock(reent_ptr)
  8. void __env_lock (struct _reent *reent);
  9. void __env_unlock (struct _reent *reent);
  10. #endif /* _INCLUDE_ENVLOCK_H_ */