asked on
ASKER
vfork() is a special case of clone(2). It is used to create new processes without copying the page tables of the parent processhttp://man7.org/linux/man-pages/man2/vfork.2.html
ASKER
ASKER
ASKER
Looking at this more closely, it appears that this reference to writing a zip file is just a feature of bsdtar and bscpio command-line utilities; and from the above discussion, we are unable to run a script from within our program.
The bsdtar and bscpio command-line utilities are feature- and performance-competitive with other tar and cpio implementations:
•Writes tar, pax, cpio, zip, xar, ar, ISO, mtree, and shar archives.
ASKER
ASKER
... and from the above discussion, we are unable to run a script from within our program.I no longer have an edit button; I meant to change this to:
... It is not clear that we can create zip files unless we are using a command-line utility.
ASKER
ASKER
ASKER
ASKER
WRITING ENTRIES TO DISKAny clear clues as to the distinctions? Thanks.
The archive_write_disk(3) API allows you to write archive_entry(3) objects to disk using the same API used by archive_write(3). The archive_write_disk(3) API is used internally by archive_read_extract(); using it directly can provide greater control over how entries get written to disk. This API also makes it possible to share code between archive-to-archive copy and archive-to-disk extraction operations.
ASKER
ASKER
ASKER
ASKER
Kernel and system programming is the process of creating the software necessary for a computer or device to function and operate other programs. Some operating systems (such as Microsoft Windows) are proprietary, but others, such as the various Linux distributions, are open source.
TRUSTED BY
Is calling a shell script that will run the zip/compress an option?
While I think I understand what you are after, i.e. you have a daemon/application written in C that needs to compress "tree" as being a directory tree?
With what credentials/rights is the C app is running and could that be what prevents.
Is the compression process a requirement for the C app or can that be managed through shell scripts, etc.? Is the compressed archive needed by the C app?