diff options
Diffstat (limited to 'bstrfirst.c')
-rw-r--r-- | bstrfirst.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bstrfirst.c b/bstrfirst.c new file mode 100644 index 0000000..4d8ab02 --- /dev/null +++ b/bstrfirst.c @@ -0,0 +1,6 @@ +#include "bstr.h" +#include "uint32.h" + +const char* bstrfirst(const char* a) { + if (*a) return a; else return a+5; +} |