b839101 fileio: add new helper fdopen_independent()

6 files Authored by Lennart Poettering a year ago, Committed by bluca a year ago,
    fileio: add new helper fdopen_independent()
    
    This is a combination of fdopen() and fd_reopen(). i.e. it first reopens
    the fd, and then converts that into a FILE*.
    
    We do this at various places already manually. let's move this into a
    helper call of its own.
    
        
file modified
+3 -10
file modified
+29 -0
file modified
+2 -0
file modified
+4 -10
file modified
+1 -6
file modified
+43 -0