Hapus karakter pertama dari string C

if (contents[0] == '\n') 
    memmove(contents, contents+1, strlen(contents));
Sparkling Squirrel