summaryrefslogtreecommitdiff
path: root/dtach.h
diff options
context:
space:
mode:
authorNed T. Crigler <crigler@users.sourceforge.net>2015-07-18 13:13:09 -0700
committerNed T. Crigler <crigler@users.sourceforge.net>2015-07-18 13:13:09 -0700
commit087e89f7a8fecba3e8d276ab9808f10e6077784b (patch)
tree7c0e6148ec590c989632416031711437b1e626bb /dtach.h
parentb7d5154c18cb57dd5680114315fbc4175cf1ea26 (diff)
Add dtach -p.
dtach -p copies the contents of standard input to a session. Based on an initial patch by @johnlane.
Diffstat (limited to 'dtach.h')
-rw-r--r--dtach.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dtach.h b/dtach.h
index 059278e..88946a0 100644
--- a/dtach.h
+++ b/dtach.h
@@ -129,6 +129,7 @@ struct packet
int attach_main(int noerror);
int master_main(char **argv, int waitattach, int dontfork);
+int push_main(void);
#ifdef sun
#define BROKEN_MASTER