Name

ap_make_dirstr_prefix — copy part of a path

Synopsis

char *ap_make_dirstr_prefix(char *d, const char *s, int n)

Copy the first n path elements from s to d or the whole of s if there are less than n path elements. Note that a leading slash counts as a path element.

Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.