PX_SET_PARAMETER(3)
π PX_SET_PARAMETER(3) π
okay so bestie, this is a page from the Library Functions Manual, and it's literally about setting parameters. let's get into it π«Ά
β¨ NAME β¨
PX_set_parameter β sets various parameters. that's it, that's the whole job, and she does it flawlessly π
πΈ SYNOPSIS πΈ
#include <paradox.h>
int PX_set_parameter(pxdoc_t *pxdoc, const char *name, const char *value)
π¦ DESCRIPTION π¦
so what she does is: she sets the parameter name to the value value. simple. iconic. no notes.
fr fr important: you must use this function for all values of type string. like, every single one. no skipping.
and if you've got float-values instead? those get set with PX_set_value(3), not here. different function, different vibe π
now, name can be any one of these cuties:
tablenameβ the name of the table as it will be stored in the database header.passwordβ sets the password for writing an encrypted database. β οΈ it must be set before writing the first record, no cap. and lowkey the best part: there is no need to set the password for reading a database. you're welcome πwarningβ turns warnings on/off. and just so you know, warnings are turned on by default. she's chatty like that πtargetencodingβ the encoding for the output. data that's being read with one of thePX_get_data_xxx(3)functions will return string data in thetargetencoding. so whatever you set here is what you get back, periodt β¨inputencodingβ the encoding of the input data which is to be stored into the database.
π RETURN VALUE π
0β success, we ate π-1β failure, it's giving tragedy π
π SEE ALSO π
π AUTHOR π
this manual page was written by Uwe Steinmann uwe@steinmann.cx. thank you bestie for the lore π«Ά
and that's the whole page, babe! it came from the Library Functions Manual β page PX_SET_PARAMETER(3) β and there's no date or version stamped on it, so consider this your little mystery girlie. go set some parameters, you're gonna slay πβ¨
π¦ where this page comes from
- debian bookworm: pxlib-dev 0.6.8-1+b1
- debian trixie: pxlib-dev 0.6.9-1+b1
- ubuntu jammy: pxlib-dev 0.6.8-1
- ubuntu noble: pxlib-dev 0.6.8-1
- ubuntu questing: pxlib-dev 0.6.9-1
- ubuntu resolute: pxlib-dev 0.6.9-1build1
- ubuntu stonking: pxlib-dev 0.6.10-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms