startswith
if ((cp = startswith(buf, "BLOCKSIZE=")) != NULL) {
} else if ((cp = startswith(buf, "KEYSIZE=")) != NULL) {
} else if ((cp = startswith(buf, "PT=")) != NULL) {
} else if ((cp = startswith(buf, "CT=")) != NULL) {
} else if ((cp = startswith(buf, "KEY=")) != NULL) {
} else if ((cp = startswith(buf, "TEST=")) != NULL) {
startswith(const char *line, const char *startswith)
size_t len = strlen(startswith);
if (strncmp(line, startswith, len) != 0)
if (startswith(filename, curdir, curdir_len))
else if (startswith(filename, _PATH_DEFSYSPATH,
if (!startswith(arg->path, allow_paths[i].path))
if (startswith(ifname, "tun") ||
startswith(ifname, "pppac") ||
startswith(ifname, "pppx"))
static int startswith(const char *, const char *);