What does “f” stand for in C standard library function names?
What does f stand for in the name of C standard library functions? I have noticed that a lot of functions have an f in their name, and this does not really make sense to me. For example: fgets , fopen , printf , scanf , sqrtf and so on. Your question in general is too general but I can explain a few examples. f gets , f open , f close , … — The ”f“ stands for “file”. These functions accept or return a FILE * pointer as opposed to a file number as the POSIX functions do. print f , scan f , … — The ”f“ stands for “formatted”. These functions accept a format string. f print f , f scan f — This is