X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Futil.h;h=d229e1e68c95ac447462255fdf7907900f8b9482;hb=f85ef957e647c5182acf5e64298f68e4b7fbfe8f;hp=d2da3e2895e3fd1aba6c824129685b9f505024af;hpb=27cc6f166bdebc0e698fb692993b801db2618866;p=elogind.git diff --git a/src/shared/util.h b/src/shared/util.h index d2da3e289..d229e1e68 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -1081,3 +1081,5 @@ void sigkill_wait(pid_t *pid); int syslog_parse_priority(const char **p, int *priority, bool with_facility); void cmsg_close_all(struct msghdr *mh); + +int rename_noreplace(int olddirfd, const char *oldpath, int newdirfd, const char *newpath);