atfstk_intro(3)
π atfstk_intro β AtFS Toolkit Library π
okay bestie, sit DOWN because this is the intro page for AtFStk, aka the AtFS (Attribute Filesystem) Toolkit Library, and it's the manual page atfstk_intro(3). this is your little map to the whole toolkit, so buckle up π
β¨ NAME β¨
AtFSTK β introduction to the AtFS (Attribute Filesystem) Toolkit Library π¦
β¨ SYNOPSIS β¨
#include <atfs.h>
#include <atfstk.h>
char* atVersion (void);
void atError (int code; char *msg);
int atErrno;
char *atErrMsg;
int atBindError;
char atBindErrorMsg[];
β¨ DESCRIPTION β¨
so, the AtFS Toolkit library (that's AtFStk, for the girlies keeping track π ) is a whole library of functions built on top of the Attribute Filesystem (AtFS). its whole purpose? making it easier to actually build AtFS application programs. it's giving "we did the hard part so you don't have to" β¨
atVersion β returns a version identification string for the AtFS Toolkit library. you want to know what you're working with? boom, there it is. π
atError β assigns the given error code and the error message msg to the global variables atErrno and atErrMsg. heads up though, this is the important bit: the given error message string (msg) is not copied. atError just assigns its address to atErrMsg. so it's on you, the application, to care about the persistence of the message buffer assigned to atErrMsg. don't be out here letting your buffer vanish into the void, bestie π
atBindError β a flag that says something went wrong while a function from the version binding subsystem was running (go peek at atbind(3) and atbindrule(3) for that whole saga). when atBindError is set TRUE, atBindErrorMsg holds an explaining error message. the tea β: the atBindError flag gets cleared upon successful calls, but the message buffer stays unchanged. so the flag resets, the message is like "i'm still here π"
β¨ LIST OF FUNCTIONS AND VARIABLES β¨
here's the whole squad, with the page each one lives on and what they do π
atAttrNameβ atattribute.3 β return name part of attributeatAttrValueβ atattribute.3 β return value part of attributeatBindAddRuleβ atbindrule.3 β add version binding rule to internal databaseatBindCacheβ atbind.3 β perform version binding on object cacheatBindDelRuleβ atbindrule.3 β delete version binding rule from internal databaseatBindDisplayErrorsβ atbindrule.3 β report errors while parsing version binding rules (variable)atBindErrorβ atfstkintro.3 β Version binding error flag (variable)atBindErrorMsgβ atfstkintro.3 β Version binding error message (variable)atBindExpandMacroβ atbind.3 β external function for macro expansion (variable)atBindListRulesβ atbindrule.3 β list names of all known version binding rulesatBindModeOptionβ atbind.3 β version binding mode (variable)atBindNoMsgβ atbind.3 β suppress output from version binding rules (variable)atBindOptionsβ atbind.3 β parse version binding options from command lineatBindRuleFileβ atbindrule.3 β evaluate file containing version binding rulesatBindSetβ atbind.3 β perform nonunique version bindingatBindSetArgvβ atbind.3 β perprocess command line with version bindingatBindShowRulesβ atbindrule.3 β dump internal database of version binding rulesatBindTestRuleβ atbindrule.3 β test existence of version binding ruleatBindTraceβ atbind.3 β trace version binding (variable)atBindUsageβ atbind.3 β print usage for version binding optionsatBindVersionβ atbind.3 β perform unique version bindingatCacheKeyβ atcache.3 β return unique key attributeatDelVersAliasβ atversion.3 β delete version alias nameatErrnoβ atfstkintro.3 β AtFStk error code (variable)atErrorβ atfstkintro.3 β set AtFStk error code and messageatErrMsgβ atfstkintro.3 β AtFStk error message (variable)atExpandβ atexpand.3 β switch attribute expansion on/off (variable)atExpandAttrsβ atexpand.3 β expand attribue citations in stringatFileClassExtβ atclass.3 β return file class symbolatFreeAttrβ atattribute.3 β recycle memory of attribute stringatGenβ atversion.3 β get generation number from compact representationatIsDerivedβ atclass.3 β check if object is from a derived object cacheatLocalPathβ atnetwork.3 β map network path to local pathatMatchAttrβ atattribute.3 β check if attribute value matches given patternatNetworkPathβ atnetwork.3 β generate network wide pathatRevβ atversion.3 β get revision number from compact representationatRetAttrβ atattribute.3 β return attribute valueatSaveCacheβ atcache.3 β save object to derived object cache and attach keyatScanBindingβ atbind.3 β scan version bind directiveatScanStatusβ atprint.3 β scan status stringatScanUserβ atuser.3 β scan user nameatSetAttrβ atattribute.3 β set or modify attributeatSetAttrFileβ atattribute.3 β set or modify attributes with input from fileatSetCommentβ atlog.3 β set description, intent or log textatSetVersAliasβ atversion.3 β set version alias nameatUnlockβ atlog.3 β unlock attributed software objectatUserNameβ atuser.3 β get user name from user nameatUserUidβ atuser.3 β get user id from user structureatUserValidβ atuser.3 β test if user structure is validatVersionβ atfstkintro.3 β return AtFStk version identification stringatVnoβ atversion.3 β generate compact version number representationatWriteDateβ atprint.3 β generate string representation of date attributeatWriteModeβ atprint.3 β generate string representation of mode attributeatWriteNameβ atprint.3 β write name and path attributeatWriteStatusβ atprint.3 β generate string representation of status attribute
β¨ SEE ALSO β¨
afintro(3)
go read that one too, it's the sibling page π«Ά
β¨ AUTHOR β¨
Andreas.Lampen@cs.tu-berlin.de β legend behavior honestly π
and that's the whole page, bestie!! π this gorgeous thing is from AtFStk-1.12, dated Fri Jun 25 16:39:27 1993, which is giving vintage icon energy fr fr π°οΈβ¨ you're welcome, go slay your AtFS app πππ¦
π¦ where this page comes from
- debian bookworm: atfs-dev 1.4pl6-15+b1
- ubuntu jammy: atfs-dev 1.4pl6-15
- ubuntu noble: atfs-dev 1.4pl6-16.1build1
- ubuntu resolute: atfs-dev 1.4pl6-17
- ubuntu stonking: atfs-dev 1.4pl6-17
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms