chiark / gitweb /
ptyfw: add missing error check
[elogind.git] / src / shared / pager.h
index dcd61957ef3eb5842a8daa9009b9b7c5236f3ed1..67446170d0337d7f853d26e6c0c4b30c475be1a3 100644 (file)
   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_;
+
+int show_man_page(const char *page, bool null_stdio);