Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/elftoolchain/libelftc/elftc_string_table_create.3
Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | |||||
.Pp | .Pp | ||||
Function | Function | ||||
.Fn elftc_string_table_lookup | .Fn elftc_string_table_lookup | ||||
looks up the string referenced by argument | looks up the string referenced by argument | ||||
.Ar string | .Ar string | ||||
in the string table specified by argument | in the string table specified by argument | ||||
.Ar table , | .Ar table , | ||||
and if found, returns the offset associated with the string. | and if found, returns the offset associated with the string. | ||||
The returned offset will be valid till the next call to function | The returned offset will be valid until the next call to | ||||
.Fn elftc_string_table_image . | .Fn elftc_string_table_image . | ||||
.Pp | .Pp | ||||
Function | Function | ||||
.Fn elftc_string_table_remove | .Fn elftc_string_table_remove | ||||
removes the string pointed by argument | removes the string pointed by argument | ||||
.Ar string | .Ar string | ||||
from the string table referenced by argument | from the string table referenced by argument | ||||
.Ar table , | .Ar table , | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |