lib: added FifoArgs API, for use in passing command line args without command line