lib: Add fgets_slash
authorVolker Lendecke <vl@samba.org>
Mon, 21 Nov 2016 18:20:10 +0000 (19:20 +0100)
committerVolker Lendecke <vl@samba.org>
Sun, 11 Dec 2016 10:17:23 +0000 (11:17 +0100)
commit9a6243eb9dac2ce7d9d678b11ec1ca955b5b4b4d
treee09eefd8248590e04ed7de39579563c5b9449c91
parent7437150381dfd6acbbf3c325c1a498c44a615a3b
lib: Add fgets_slash

Copy x_fgets_slash with conversion to stdio and talloc.

Probably I'd do this functionality a bit differently, but for simplicity I
chose to make it the same as what is there.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/samba_util.h
lib/util/util_file.c