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 attribute
  • atAttrValue β€” atattribute.3 β€” return value part of attribute
  • atBindAddRule β€” atbindrule.3 β€” add version binding rule to internal database
  • atBindCache β€” atbind.3 β€” perform version binding on object cache
  • atBindDelRule β€” atbindrule.3 β€” delete version binding rule from internal database
  • atBindDisplayErrors β€” 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 rules
  • atBindModeOption β€” 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 line
  • atBindRuleFile β€” atbindrule.3 β€” evaluate file containing version binding rules
  • atBindSet β€” atbind.3 β€” perform nonunique version binding
  • atBindSetArgv β€” atbind.3 β€” perprocess command line with version binding
  • atBindShowRules β€” atbindrule.3 β€” dump internal database of version binding rules
  • atBindTestRule β€” atbindrule.3 β€” test existence of version binding rule
  • atBindTrace β€” atbind.3 β€” trace version binding (variable)
  • atBindUsage β€” atbind.3 β€” print usage for version binding options
  • atBindVersion β€” atbind.3 β€” perform unique version binding
  • atCacheKey β€” atcache.3 β€” return unique key attribute
  • atDelVersAlias β€” atversion.3 β€” delete version alias name
  • atErrno β€” atfstkintro.3 β€” AtFStk error code (variable)
  • atError β€” atfstkintro.3 β€” set AtFStk error code and message
  • atErrMsg β€” atfstkintro.3 β€” AtFStk error message (variable)
  • atExpand β€” atexpand.3 β€” switch attribute expansion on/off (variable)
  • atExpandAttrs β€” atexpand.3 β€” expand attribue citations in string
  • atFileClassExt β€” atclass.3 β€” return file class symbol
  • atFreeAttr β€” atattribute.3 β€” recycle memory of attribute string
  • atGen β€” atversion.3 β€” get generation number from compact representation
  • atIsDerived β€” atclass.3 β€” check if object is from a derived object cache
  • atLocalPath β€” atnetwork.3 β€” map network path to local path
  • atMatchAttr β€” atattribute.3 β€” check if attribute value matches given pattern
  • atNetworkPath β€” atnetwork.3 β€” generate network wide path
  • atRev β€” atversion.3 β€” get revision number from compact representation
  • atRetAttr β€” atattribute.3 β€” return attribute value
  • atSaveCache β€” atcache.3 β€” save object to derived object cache and attach key
  • atScanBinding β€” atbind.3 β€” scan version bind directive
  • atScanStatus β€” atprint.3 β€” scan status string
  • atScanUser β€” atuser.3 β€” scan user name
  • atSetAttr β€” atattribute.3 β€” set or modify attribute
  • atSetAttrFile β€” atattribute.3 β€” set or modify attributes with input from file
  • atSetComment β€” atlog.3 β€” set description, intent or log text
  • atSetVersAlias β€” atversion.3 β€” set version alias name
  • atUnlock β€” atlog.3 β€” unlock attributed software object
  • atUserName β€” atuser.3 β€” get user name from user name
  • atUserUid β€” atuser.3 β€” get user id from user structure
  • atUserValid β€” atuser.3 β€” test if user structure is valid
  • atVersion β€” atfstkintro.3 β€” return AtFStk version identification string
  • atVno β€” atversion.3 β€” generate compact version number representation
  • atWriteDate β€” atprint.3 β€” generate string representation of date attribute
  • atWriteMode β€” atprint.3 β€” generate string representation of mode attribute
  • atWriteName β€” atprint.3 β€” write name and path attribute
  • atWriteStatus β€” 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