pidref: copy fd id in pidref_copy() too
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ void pidref_done(PidRef *pidref);
|
||||
PidRef* pidref_free(PidRef *pidref);
|
||||
DEFINE_TRIVIAL_CLEANUP_FUNC(PidRef*, pidref_free);
|
||||
|
||||
int pidref_copy(const PidRef *pidref, PidRef *dest);
|
||||
int pidref_copy(const PidRef *pidref, PidRef *ret);
|
||||
int pidref_dup(const PidRef *pidref, PidRef **ret);
|
||||
|
||||
int pidref_new_from_pid(pid_t pid, PidRef **ret);
|
||||
|
||||
Reference in New Issue
Block a user