chiark / gitweb /
ptyfw: add missing error check
[elogind.git] / src / shared / pager.h
index 7d2108f73e1b8b5dc08ccd6757326ce5fd0dd14d..67446170d0337d7f853d26e6c0c4b30c475be1a3 100644 (file)
@@ -1,7 +1,6 @@
 /*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
 
-#ifndef foopagerhfoo
-#define foopagerhfoo
+#pragma once
 
 /***
   This file is part of systemd.
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-void pager_open(void);
+#include <stdbool.h>
+
+#include "macro.h"
+
+int pager_open(bool jump_to_end);
 void pager_close(void);
+bool pager_have(void) _pure_;
 
-#endif
+int show_man_page(const char *page, bool null_stdio);