strndup 72 include/portability.h char *strndup(const char *str, size_t len); strndup 1426 lib/common/iso8601.c tmp_fmt_s = strndup(&format[printed_pos], fmt_pos - printed_pos); strndup 965 lib/pengine/unpack.c state_key = strndup(long_key, strlen(long_key) - strlen(sep)); strndup 1615 lib/pengine/unpack.c basename = strndup(last_rsc_id, end - last_rsc_id + 1); strndup 441 lib/services/systemd.c unit_name = strndup(basename, match - basename);