logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Lars Wirzenius (lars.wirzenius@helsinki.fi)

Publib                                        C Programmer's Manual                               STRRIGHT(3pub)

Description

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.

Name

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

See Also

publib(3)

Synopsis

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

See Also