XBPS Library API 20240111
The X Binary Package System
|
Functions | |
int | xbps_archive_append_buf (struct archive *ar, const void *buf, const size_t buflen, const char *fname, const mode_t mode, const char *uname, const char *gname) |
int xbps_archive_append_buf | ( | struct archive * | ar, |
const void * | buf, | ||
const size_t | buflen, | ||
const char * | fname, | ||
const mode_t | mode, | ||
const char * | uname, | ||
const char * | gname | ||
) |
Appends a file to the ar archive by using a memory buffer buf of size sizelen.
[in] | ar | The archive object. |
[in] | buf | The memory buffer to be used as file data. |
[in] | buflen | The size of the memory buffer. |
[in] | fname | The filename to be used for the entry. |
[in] | mode | The mode to be used in the entry. |
[in] | uname | The user name to be used in the entry. |
[in] | gname | The group name to be used in the entry. |