Roland Mainz <[EMAIL PROTECTED]> wrote: > > > why not having a lib function that would help parsing/reading/writing > > > such a file ? > > > > There actually is an undocumented/private library much like that already for > > reading the files in that format in /etc/default - libcmd. > > http://cvs.opensolaris.org/source/xref/on/usr/src/lib/libcmd/common/deflt.c > > Note: This should not be used if possible. I have plans for it - and I > am not sure whether the current API will surive them (as noted it only > needs a "consolidation flag day" to get rid of a private API if > unneeded/unsuited (and based on IRC comments the remaning API (much of > it was already scrapped during Solaris 10 development) in libcmd is not > very popular among developers... ;-/ )) ...
It is not available on other platforms. This is why cdrtools, star and other programs from me come with my libdeflt since some time..... Jörg -- EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin [EMAIL PROTECTED] (uni) [EMAIL PROTECTED] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org