aboutsummaryrefslogtreecommitdiffstats
path: root/strend.c
blob: ff5fa34877f5bbfb820df751acc5ba3caecdb614 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* See LICENSE file for copyright and license details. */
#include "common.h"
#ifndef TEST


extern inline char *libsimple_strend(const char *);


#else
#include "test.h"

int
main(void)
{
	assert(strcmpnul(libsimple_strend("abc\0xyz"), "xyz"));
	return 0;
}

#endif