There are standard functions (and classes in C++) for file I/O in C and C++. These include read, write, and seek operations. What makes you think you need anything OS specific?
Furthermore operations that are not covered by the ISO standard library, such as directory manipulation, file enumeration, and low-level I/O dealing with file permissions etc. are standardised by the POSIX standard, and will therefore be supported by Solaris. Solaris is a Unix implementation, anything you find referring to Unix, POSIX, or even Linux will generally apply to your Solaris environment.
That is why you got a 'non-specific' answer - the answer is generally applicable - most of those POSIX calls (or at least near identical versions), are even available on non-POSIX OS's such as Windows.
The POSIX file I/O is described on the Sun Developer Network site (perhaps where you should have looked!), here:
http://developers.sun.com/solaris/articles/fileio.html
The standard C I/O is described here (for example):
http://www.cplusplus.com/reference/clibrary/cstdio/
And for C++:
http://www.cplusplus.com/reference/iostream/
For portability, unless you really need low level control of file permissions or other filesystem features, I suggest that you stick to the ISO standard I/O operations.
Clifford