commit | 33960886668653dbb35bbba26d8d993aaf4f4d06 | [log] [tgz] |
---|---|---|
author | FRIGN <dev@frign.de> | Thu Feb 25 21:44:46 2016 +0100 |
committer | sin <sin@2f30.org> | Fri Feb 26 09:54:46 2016 +0000 |
tree | bb8f08a8e5d6fa03e54ef6ed77a201cbb3f78d7d | |
parent | e8eeb19fcd9760dca4318e931a16000a6d617be5 [diff] |
Implement strmem() and use it in join(1) We want our delimiters to also contain 0 characters and have them handled gracefully. To accomplish this, I wrote a function strmem(), which looks for a certain, arbitrarily long memory subset in a given string. memmem() is a GNU extension and forces you to call strlen every time.