vf_set_prop_name_string(3)
π vf_set_prop_name_string β like, the manual page bestie π
okay so you found your way to vf_set_prop_name_string(3) and honestly? iconic of you. this little cutie lives in the Library Functions Manual and it does exactly one thing and does it well. let's get into it β¨
πΈ NAME πΈ
vf_set_prop_name_string β yes she's literally named after herself, vf_set_prop_name_string(), main character behavior fr π
β¨ SYNOPSIS β¨
#include <../vformat/vf_iface.h>
extern bool_t vf_set_prop_name_string
(
VF_PROP_T *p_prop,
uint32_t n_string,
const char *p_string
);
like, look at that signature. chef's kiss. π
π¦ PARAMETERS π¦
VF_PROP_T *p_propβ the property we're setting a value in, aka the thing you're messing with. your lil canvas bestie π¨uint32_t n_stringβ the index to the string. it's giving "which one tho" energy, and this number tells you which π’const char *p_stringβ pointer to string. just a pointer, living its best life, pointing at a string π«Ά
π DESCRIPTION π
Set the n'th name string. that's it. that's the whole vibe. you hand it a property, an index, and a string, and boom β the n'th name string gets set. no cap. β¨
π RETURNS π
Returns TRUE iff allocation OK, FALSE else. so like, if the memory gods said yes you get TRUE, and if they said "not today bestie" you get FALSE. periodt. π
π SEE ALSO π
the whole friend group, all linked up, all slaying in their own way:
vf_parse_init(3)vf_parse_text(3)vf_parse_end(3)vf_read_file(3)vf_write_file(3)vf_get_next_object(3)vf_create_object(3)vf_get_object_type(3)vf_get_property(3)vf_get_property_ex(3)vf_get_next_property(3)vf_get_prop_value(3)vf_set_prop_value(3)vf_get_prop_value_string(3)vf_get_prop_name_string(3)vf_get_prop_name(3)vf_get_prop_value_object(3)vf_set_prop_value_object(3)vf_set_prop_value_string(3)vf_set_prop_value_base64(3)vf_get_prop_value_base64(3)vf_set_property_from_file(3)vf_delete_object(3)vf_delete_prop(3)vf_find_prop_qual_index(3)vf_is_modified(3)vf_find_charset(3)vf_date_string_to_time(3)vf_period_string_to_time(3)vf_period_time_to_string(3)vf_set_prop_value_time(3)vf_get_prop_value_time(3)
lowkey reminder: this page came from c2man vf_iface.h and it's dated 30 April 2003 β yeah, she's vintage, she's a classic, she's an icon, and she still ate. π
okay bye bestie, go set some name strings, you've got this π§β¨π
π¦ where this page comes from
- debian bookworm: libvformat-dev 1.13-12 Β· LGPL-2.1-or-later
- ubuntu jammy: libvformat-dev 1.13-12build2 Β· LGPL-2.1-or-later
- ubuntu noble: libvformat-dev 1.13-12.1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms