History

Document what tcc_fileextension does

This is evident, but won't hurt

Kirill Smelkov committed 16 years ago

Commit 441a0891 parent 12033481 file · +4 −0Browse files

Unified · Split

libtcc.c+4−0
@@ -168,6 +168,10 @@ PUB_FUNC char *tcc_basename(const char *name) · 167 unmodified lines
168168 return p;
169169 }
170170
171+/* extract extension part of a file
172+ *
173+ * (if no extension, return pointer to end-of-string)
174+ */
171175 PUB_FUNC char *tcc_fileextension (const char *name)
172176 {
173177 char *b = tcc_basename(name);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t