|
-
Nov 15th, 2001, 09:32 PM
#1
Thread Starter
Addicted Member
Listing of functions (Linux Related)
Ok, here is my problem.
I am reading an E-Book on how to program in C, and it has been great up till now, i am nearing the end and it has started to talk about functions that are not a part of the ANSI Standard library.
Now, i know that there is functions in the libc library that do the same thing as these functions but I am not sure how to find them.
Here is an example of what i am talking about....
In the book it says there is a function that converts Uppercase letters to Lowercase letters, it also says that this is not a part of the ANSI standard, the function that it gave in the book was "strlwr()" (it says that this function is included in the Symantec, Microsoft, and Borland c Libs, which is all for windows, and i am programing for linux).
I got on an IRC chan and asked someone and they were able to tell me that a function called "tolower()" existed in the libc library so i tried that and it worked (cause i have the libc library installed).
Now the question that i have is,
1. Is there a listing somewhere of all the functions (in the libc library) and what they do??
2. If not, how can i find out if a function exists, if i know what it does, but dont know the name of it??
(For No2. i have been told to do "man -k <keywords>" which works, but if i do "man -k reverse string" i get a listing of everything in the man that has thoes two words in it... Not very helpful)
Any help on this matter would be much appreciated.
-|- Hurgh -|-
Email: [email protected]
Website: http://www.hurgh.org/
Unix, Linux, FreeBSD, OpenBSD, Solaris, Windows
C, C++, PHP, VB6, ASP, VBScript, JavaScript
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|