John E. Malmberg wrote: > > In the latter case, you can reuse most of the code from > > gnulib/lib/fchdir.c. > > Then the filename would have to be attached to the file descriptor > obtained by opening the null device.
Yes. gnulib/lib/fchdir.c is a good starting point, I think. Bruno