chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace mkostemp+unlink with open(O_TMPFILE)
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index d6d746bc6a506386b7a33f1902f07756a8356d78..630137a53ad755d8b036a2359156b85bbf1d5808 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-849,3
+849,5
@@
bool pid_valid(pid_t pid);
int getpeercred(int fd, struct ucred *ucred);
int getpeersec(int fd, char **ret);
+
+int open_tmpfile(const char *path, int flags);