From 7d4c57970ebf24fd93485cff39e31d2e3b245fd3 Mon Sep 17 00:00:00 2001
From: Brian Somers <brian@FreeBSD.org>
Date: Thu, 28 May 1998 23:17:09 +0000
Subject: [PATCH] Add uu_lock_txfr() to transfer ownership of a successful
 uu_lock() to another process.

---
 libutil/libutil.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libutil/libutil.h b/libutil/libutil.h
index 8a96284..513acee 100644
--- a/libutil/libutil.h
+++ b/libutil/libutil.h
@@ -18,7 +18,7 @@
  * 5. Modifications may be freely made to this file providing the above
  *    conditions are met.
  *
- * $Id: libutil.h,v 1.12 1997/08/31 20:09:38 brian Exp $
+ * $Id: libutil.h,v 1.13 1997/09/04 22:38:58 pst Exp $
  */
 
 #ifndef _LIBUTIL_H_
@@ -43,6 +43,7 @@ int	forkpty __P((int *_amaster, char *_name,
 		     struct termios *_termp, struct winsize *_winp));
 const char *uu_lockerr __P((int _uu_lockresult));
 int	uu_lock __P((const char *_ttyname));
+int	uu_lock_txfr __P((const char *_ttyname, pid_t _pid));
 int	uu_unlock __P((const char *_ttyname));
 int	_secure_path __P((const char *_path, uid_t _uid, gid_t _gid));
 __END_DECLS
@@ -55,5 +56,6 @@ __END_DECLS
 #define UU_LOCK_WRITE_ERR (-4)
 #define UU_LOCK_LINK_ERR (-5)
 #define UU_LOCK_TRY_ERR (-6)
+#define UU_LOCK_OWNER_ERR (-7)
 
 #endif /* !_LIBUTIL_H_ */
-- 
2.47.1