aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kmer_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kmer_utils.c b/kmer_utils.c
index 295628a..a8589c5 100644
--- a/kmer_utils.c
+++ b/kmer_utils.c
@@ -136,6 +136,7 @@ char *index_to_kmer(unsigned long long index, long kmer) {
}
// Strip out any character 'c' from char array 's'
+// returns length of new string
size_t strnstrip(char *s, int c, size_t len) {
size_t i = 0;