| commit | adc201f81902f3015a841869756ed4b9b811fe33 | [log] [tgz] |
|---|---|---|
| author | Martin Liska <mliska@suse.cz> | Mon Apr 19 14:33:36 2021 +0200 |
| committer | Mark Wielaard <mark@klomp.org> | Wed May 12 11:56:57 2021 +0200 |
| tree | 735ab647b6e749f7bbbd1cd88256f89c2de266a9 | |
| parent | 857546d176a36d2b5dc18b81dcafa3fb8ec0123d [diff] |
Come up with startswith function. New function in system.h that returns true if a string has a given prefix, false otherwise. Use it in place of strncmp. Signed-off-by: Martin Liška <mliska@suse.cz>