# Folio

A family of function calls.

### Description

A folio is a family of function calls available in the Portfolio operating system.

Folios provide a standard way to package groups of related functions. Portfolio is composed of a number of folios, such as the kernel folio, the graphics folio, and the compression folio. Some folios are permanent, such as the kernel folio, while other are demand-loaded, which means they only exist when they are needed.

You can create folios for your own use. It is a convenient way to share code amongst multiple independant tasks or threads.

### Folio

kernel

### Item Type

FOLIONODE

### Create

`CreateItem`(), CreateNamedItem(), CreateVersionedItem()

### Delete

`DeleteItem`()

### Query

`FindItem`(), FindFolio(), FindNamedNode(), FindVersionedItem()

### Modify

`OpenItem`(), CloseItem(), FindAndOpenItem(), FindAndOpenFolio()

### Tags

CREATEFOLIO_TAG_NUSERVECS

(uint32) Create. This value indicates the number of elements in the function table.

CREATEFOLIO_TAG_USERFUNCS

(void *) Create. A pointer to a table of function pointers. Once the folio is created, clients of the folio will be able to call the functions within this table.