How do you extract the base path from pathname in C?
Are there any functions built into the C language or the C-Runtime L
Just loop from back to forward until you meet the first \