mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add util_startswith to util_str to check if a string starts with the given prefix and returns a pointer to the rest of the string, or NULL if it does not. Signed-off-by: Wisdom Erhimwionsobo <werh29@linux.ibm.com> Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>