2004-01-12 10:05:15 CST A collection of library routines, named libtalisman for historical reasons. Interesting inclusions: void Daemon(const char *ausdatei) A daemonizing function for the current process. ostream& Error(ostream &o) ostream& Error(ostream &o, Message msg) C++ iomanip extensions to print out the text corresponding to errno. char *Fgetstr(FILE *ifp, const char *terminators) char *Getstr(std::istream & in, const char *terminators) Reads text, until any of a set of terminators is reached, into a buffer limited only by available memory and returned as a single malloced item. char *Getpwd(void) Returns the current working directory, even if longer than MAXPATHLEN or pathconf(".", _PC_PATH_MAX). Uses efficient dynamic allocation like Fgetstr(). Option... A set of functions to tie together command line options, configuration file options, and output of current settings and per-setting help information. In german. int Output(const char *format, ...) An extremely flexible replacement for printf, including output of floating point numbers in any base from 2 to 36, left/right/center alignment of text fields, format continuation strings to allow interspersed format and arguments, and other features. Deprecated, since the main objective - providing base-N output - can probably be handled with an extension to the iostream classes. char *Pathname(const char *orig) Returns the result of home-directory expansion on a pathname. int Pending(FILE *stream) A convenient function to check for available input on a FILE*. int Random(int low, int high) double RandomDouble(double low, double high) Convenience function for generating random numbers in a range. ntree A STL extension class for working with N-trees. Supports components such as transform(), allocators, and so forth. Currently in pre-alpha development (2004-01).