Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Looking for resources: like C doc (something like JavaDoc for C on Linux would be cool) for reading files and their attributes?

I'm working on recursively reading in files. I can get a list of files in a directory, with some simple code that uses readdir( DIR* ), but I'm looking for some code that I can, in general, browse through.

I'm kind of new to Linux -- so maybe man pages are the way to go here, but since man pages typically aren't linked together (like hyperlinks), I'm looking for resources that describe relationships between C structs and function for file IO. I'm wondering if I need to go as far as understanding inode stuff?

share|improve this question
1  
Man pages are linked together, the man command typically doesn't allow the links to be interactive. –  Ignacio Vazquez-Abrams Mar 27 '12 at 17:40
1  
And I just pressed q to try to close this tab. Thanks :P –  Ignacio Vazquez-Abrams Mar 27 '12 at 17:59

1 Answer 1

up vote 4 down vote accepted

Well-linked one is e.g. GNU libc documentation:

http://info2html.sourceforge.net/cgi-bin/info2html-demo/info2html?%28libc.info.gz%29Top

(or its equivalent installed locally)

See "file system interface" from the top page.

Man pages carry hyperlinks but you need proper man browser instead of default one. For console, try pinfo, it provides very simple Lynx-like interface.

share|improve this answer
    
Sweet, I didn't know about pinfo. –  Mat Mar 27 '12 at 18:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.