3(2005-06-09)
π CMCIClientFT.createInstance() β Create class instance π
okay bestie, so this is a section 3 page (that's library calls, iykyk) and it lives in the 3 manual, dated 2005-06-09. Pull up a chair, we're making a whole new instance and it's gonna be iconic. π¦
β¨ SYNOPSIS β¨
#include <cmci.h>
CMPIObjectPath*
CMCIClientFT.createInstance(CMCIClient*cl,
CMPIObjectPath*op,
CMPIInstance*inst,
CMPIStatus*rc);
πΈ DESCRIPTION πΈ
So basically: you're creating a class instance, and you use op as your reference. That's the whole vibe. β¨
Now the arguments, one by one, no skipping, periodt:
clβ the client object pointer. Your main character.opβ theObjectPathobject pointer, and it's the one holding the namespace and classname components. It's giving "address label for your new baby instance."instβ a complete instance object pointer. Complete! Not a half-finished draft, not a situationship, a full instance.rcβ the CMPI operation status. And here's the tea: it's suppressed whenNULL. So if you passNULL, it justβ¦ doesn't report back. π
π RETURN VALUE π
When it slays (successful), CMCIClientFT.createInstance() returns a pointer to a CMPIObjectPath object carrying the new instance reference, and it sets a successful status code for rc. π
When it does NOT slay (unsuccessful), it returns NULL, and it sets the rc argument with the error code and the corresponding error string. So even when it flops, you get receipts.
π ERRORS π
(nothing listed here, bestie β it's literally empty, that's not me skipping it π)
π EXAMPLES π
(also empty. no examples were given. we're on our own out here. π)
π«Ά SEE ALSO π«Ά
- Common Manageability Programming Interface (CMPI) - OpenGroup
CMCIClient(3)CMPIObjectPath(3)CMPIInstance(3)CMPIStatus(3)
and that's the whole page, no cap π go forth and create instances responsibly β¨
SFCBroker Client Library β sfcc β dated 2005-06-09. mwah, take care of her ππ
π¦ where this page comes from
- centos-stream 10: sblim-sfcc 2.2.8-28.el10 Β· EPL-1.0
- centos-stream 9: sblim-sfcc 2.2.8-18.el9 Β· EPL-1.0
- centos-stream 9: sblim-sfcc 2.2.8-18.el9 Β· EPL-1.0
- fedora 43: sblim-sfcc 2.2.8-29.fc43 Β· EPL-1.0
- fedora 43: sblim-sfcc 2.2.8-29.fc43 Β· EPL-1.0
- fedora 44: sblim-sfcc 2.2.8-30.fc44 Β· EPL-1.0
- fedora 44: sblim-sfcc 2.2.8-30.fc44 Β· EPL-1.0
- nixos 26.05: sblim-sfcc 2.2.8-unstable-2023-06-26
- nixpkgs unstable: sblim-sfcc 2.2.8-unstable-2023-06-26
- opensuse-leap 16.0: sblim-sfcc-devel 2.2.9~rc1-bp160.1.13 Β· EPL-1.0
- opensuse-leap 16.0: sblim-sfcc-devel 2.2.9~rc1-bp160.1.13 Β· EPL-1.0
- opensuse-leap 16.0: sblim-sfcc-devel 2.2.9~rc1-bp160.1.13 Β· EPL-1.0
- opensuse-leap 16.0: sblim-sfcc-devel 2.2.9~rc1-bp160.1.13 Β· EPL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms