logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git 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