Name

cyg_bundle_access_file — Initialise “file” bundle context

Synopsis

#include <cyg/bundle/bundle_api.h>

cyg_bundle_context_t *cyg_bundle_access_file(int fd);

Description

Initialises context for accessing a file based bundle image. This function requires the caller to have initialised and accessed the relevant file system, and to pass a valid “readable” file descriptor of an opened bundle image file. This functionality is only available if CYGPKG_IO_FILEIO is configured.

Return value

Pointer to object or NULL if unable to create context.