We have a code library that was built with assumptions that all file IO was via file descriptors. It relies heavily on assuming that any input data can be accessed via file descriptors, whether they be files, or network data.
We would like to try moving some of the data to Amazon S3, but would like to avoid s3fs if possible. I looked through some of the AWS S3 docs for the C++ library, but I couldn't find anything that allowed you to get a file descriptor which you could use to read/select/poll etc.
Did I miss anything? Does Amazon have a more C based API for S3?
Amazon S3 is an object storage system. It does not present itself as a traditional file system.
Some software products that present S3 as a file system:
Depending upon how you wish to use the files, you could use the AWS Command-Line Interface (CLI), which as a aws s3 sync command that can synchronize files with the cloud (in either direction). Think of it like a DropBox solution. That way, you could have a local copy of the files to access through a file descriptor.