DOKK / manpages / debian 10 / publib-dev / strright.3pub.en
STRRIGHT(3pub) C Programmer's Manual STRRIGHT(3pub)

strright - return a pointer to the beginning of the rightmost n chars in a string

#include <publib.h>
char *strright(const char *s, size_t n);

strright will return a pointer to the first of the n rightmost characters (not counting the '\0') in the string s. It does not make a copy of the string, but will return a pointer into the argument string.

publib(3)

Lars Wirzenius (lars.wirzenius@helsinki.fi)

C Programmer's Manual Publib