]> git.ipfire.org Git - thirdparty/shadow.git/commit
lib/string/strtok/stpsep.[ch]: stpsep(): Add function
authorAlejandro Colomar <alx@kernel.org>
Tue, 2 Jul 2024 17:31:38 +0000 (19:31 +0200)
committerSerge Hallyn <serge@hallyn.com>
Tue, 9 Jul 2024 01:25:01 +0000 (20:25 -0500)
commit39da15614e5064bfb67345bf3dd9d854b230e071
tree17f1e0c8c1ce851a83b83fb8b77635b3af9a093d
parent843c151f2c17be7e83c231a6ad7a028ba560583e
lib/string/strtok/stpsep.[ch]: stpsep(): Add function

This function is somewhat simpler to use than strsep(3) in some cases.

Signed-off-by: Alejandro Colomar <alx@kernel.org>
lib/Makefile.am
lib/string/strtok/stpsep.c [new file with mode: 0644]
lib/string/strtok/stpsep.h [new file with mode: 0644]