Library Functions
Last modified Tuesday, 15-Jul-2025 06:56:54 UTC.
- What parameter must you provide to gcc to link in the
math library?
- How can you find out the range of possible values for each numeric data
type?
- How can you get the value of Pi?
- Does the math library have trigonometric functions?
- What function should you call before using the rand function?
- What function checks if a character is alphabetic?
- What function converts a character to uppercase?
- How can you convert a string that looks like an integer, to an integer?
- How can you convert a string that looks like a real, to a double?
- What's wrong with the strcpy function?
- What function is better than the strcpy function?
- What function compares strings in alphabetic order, ignoring case?
- What is the strtok function used for?
- What is the first parameter to strtok the second time you use it?o
- What function searches a string for a character?
- What function compiles a regular expression?
- Name the three standard IO streams
- What is the data type of the three standard IO streams?
- What is the data type of all IO streams?
- What's wrong with gets?
- What function should be used instead of gets?
- That is the function to open a file?
- What does fputs do?
- What does fwrite do?
- What function detects a (genuine) end-of-file condition?
- What function provides random access in a file?
- What does fflush do?
- If you are nervous, what system call should you use after fflush?
- What does sprinf do?
- Why did mkstemp replace mktemp?
- What function is used to get a piece of memory from the heap?
- What function is used to extend a piece of memory taken from the heap?
- What function is used to return a piece of memory to the heap?
- What is a "memory leak"?
- What is a common use for the memset function?
- What function provides an error message for the most recent error in a
function call?
- What functions provide "time travel" in C?
- When does UNIX time start?
- What function can be used to measure the CPU time used in a program?
- What function installs an "exit handler" in a program?