SpiceQA
Questions
Tags
Users
Badges
Are there any C APIs to extract the base file name from its full path in Linux?
user_341008
0
Created Jul 20, 2010
Edited Jul 20, 2010
Viewed 18405
Follow
Given the full path, the API should give me the base file name. E.g., "/foo/bar.txt" --> "bar.txt".
linux
c
16
0
Add comment
+
Share
4 Answers
Related