chiark / gitweb /
fs-util: introduce fchmod_and_chown()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 14 Jun 2018 02:26:29 +0000 (11:26 +0900)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commitfc7c1e170db761d2675a3b1c72a16856b8dfb868
tree230f2a0eadc55c5f5621e6f9dc4c1fdb05589c31
parent7bde1b2188a60dc70a99fc2047b3b877e5f8349d
fs-util: introduce fchmod_and_chown()

The new function fchmod_and_chown() is almost same as chmod_and_chown()
except it takes file descriptor instead of file path.
src/basic/fs-util.c
src/basic/fs-util.h