strndup 1573 daemons/fenced/fenced_commands.c char *line = strndup(devices + last, lpc - last); strndup 64 include/portability.h char *strndup(const char *str, size_t len); strndup 430 lib/cib/cib_ops.c replace_item = strndup(replace + last, lpc - last); strndup 135 lib/common/agents.c *standard = strndup(spec, colon - spec); strndup 144 lib/common/agents.c *provider = strndup(spec, colon - spec); strndup 1674 lib/common/iso8601.c tmp_fmt_s = strndup(&format[printed_pos], fmt_pos - printed_pos); strndup 239 lib/common/nvpair.c *name = strndup(input, sep-input); strndup 79 lib/common/operations.c *rsc_id = strndup(key, underbar1-key); strndup 83 lib/common/operations.c *op_type = strndup(underbar1+1, underbar2-underbar1-1); strndup 126 lib/common/operations.c *op_type = strndup(type_sep+1, interval_sep-type_sep-1); strndup 131 lib/common/operations.c *rsc_id = strndup(key, type_sep-key); strndup 158 lib/common/operations.c *rsc_id = strndup(key+pmatch[1].rm_so, pmatch[1].rm_eo-pmatch[1].rm_so); strndup 162 lib/common/operations.c *op_type = strndup(key+pmatch[2].rm_so, pmatch[2].rm_eo-pmatch[2].rm_so); strndup 327 lib/common/xpath.c retval = strndup(start, end-start); strndup 2170 lib/fencing/st_client.c char *line = strndup(target_spec + line_start, len); strndup 1641 lib/pengine/unpack.c basename = strndup(last_rsc_id, end - last_rsc_id + 1); strndup 638 lib/services/services_linux.c op->opaque->exit_reason = strndup(reason_start, reason_end - reason_start); strndup 615 lib/services/systemd.c unit_name = strndup(basename, match - basename); strndup 94 maint/gnulib/lib/argp-namefrob.h #define __strndup strndup strndup 345 maint/gnulib/lib/argz.c char *to = strndup (arg, to_len); strndup 552 maint/gnulib/lib/string.in.h _GL_FUNCDECL_RPL (strndup, char *, (char const *__s, size_t __n) strndup 554 maint/gnulib/lib/string.in.h _GL_CXXALIAS_RPL (strndup, char *, (char const *__s, size_t __n)); strndup 557 maint/gnulib/lib/string.in.h _GL_FUNCDECL_SYS (strndup, char *, (char const *__s, size_t __n) strndup 560 maint/gnulib/lib/string.in.h _GL_CXXALIAS_SYS (strndup, char *, (char const *__s, size_t __n)); strndup 562 maint/gnulib/lib/string.in.h _GL_CXXALIASWARN (strndup); strndup 566 maint/gnulib/lib/string.in.h _GL_WARN_ON_USE (strndup, "strndup is unportable - " strndup 32 maint/gnulib/lib/xstrndup.c char *s = strndup (string, n); strndup 85 maint/gnulib/tests/test-string-c++.cc SIGNATURE_CHECK (GNULIB_NAMESPACE::strndup, char *, (char const *, size_t));