Working through PSET1 - Credit. I'm coming to CS50 with experience in languages other than C, with strong documentation, and it would be really helpful to be able to generate a list of function signatures (and descriptions, if available) that are available in the header files at the top of my C files.

Here's the code I have so far:

#include <stdio.h>
#include <cs50.h>

int main(void) {
    printf("Number: "); 
    long long num = get_long_long(); 
    while(num < 0) {
        printf("Retry: "); 
        num = get_long_long(); 

I would assume there's a way to get a list of functions for these headers from the terminal, similar to running man man for the standard library functions. Is this possible? If so, what's the best way?

1 Answer 1


It is difficult to respond in a simple way, without going into great depths we can find very good documentation in man pages: We can find documentation of the standard head files by typing in the terminal

info stdio


man stdio

for example. With non-standard files like cs50.h this does not work, but we can find all the header files in the path


and open them in read mode.

Exist in the web many resource my favorite page is


I hope that helps

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .