chiark
/
gitweb
/
~mdw
/
tripe
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
admin, resolve ops bugfix: initialize tag in resop early.
[tripe]
/
util.h
diff --git
a/util.h
b/util.h
index b5fbd579f0a8971546c930911c09096a6e71fb2c..675f0efed01269ef707a66510bfae9e7f25219f3 100644
(file)
--- a/
util.h
+++ b/
util.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: util.h,v 1.
1 2001/02/03 20:26:3
7 mdw Exp $
+ * $Id: util.h,v 1.
3 2004/04/08 01:36:1
7 mdw Exp $
*
* Utilities for the client and the server
*
*
* Utilities for the client and the server
*
@@
-26,14
+26,6
@@
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: util.h,v $
- * Revision 1.1 2001/02/03 20:26:37 mdw
- * Initial checkin.
- *
- */
-
#ifndef UTIL_H
#define UTIL_H
#ifndef UTIL_H
#define UTIL_H
@@
-41,10
+33,20
@@
extern "C" {
#endif
extern "C" {
#endif
-/*----- Header files ------------------------------------------------------*/
-
/*----- Functions provided ------------------------------------------------*/
/*----- Functions provided ------------------------------------------------*/
+/* --- @u_detach@ --- *
+ *
+ * Arguments: ---
+ *
+ * Returns: ---
+ *
+ * Use: Detaches from the current terminal and ensures it can never
+ * acquire a new one. Calls @fork@.
+ */
+
+extern void u_detach(void);
+
/* --- @u_daemon@ --- *
*
* Arguments: ---
/* --- @u_daemon@ --- *
*
* Arguments: ---
@@
-54,7
+56,7
@@
* Use: Becomes a daemon.
*/
* Use: Becomes a daemon.
*/
-int u_daemon(void);
+
extern
int u_daemon(void);
/*----- That's all, folks -------------------------------------------------*/
/*----- That's all, folks -------------------------------------------------*/