Provided by: manpages-cs-dev_4.14.0-4_all bug

JMÉNO

       index, rindex - vyhledej znak v řetězci

POUŽITÍ

       #include <strings.h>

       char *index(const char *s, int c);

       char *rindex(const char *s, int c);

POPIS

       Funkce index() vrací ukazatel na první výskyt znaku c v řetězci s.

       Funkce rindex() vrací ukazatel na poslední výskyt znaku c v řetězci s.

       The terminating null byte ('\0') is considered to be a part of the strings.

NÁVRATOVÉ HODNOTY

       FUnkce  index()  a  rindex() vrací ukazatel na nalezený řetězec nebo NULL pokud nebyl znak
       nalezen.

ATRIBUTY

       For an explanation of the terms used in this section, see attributes(7).

       ┌──────────────────┬───────────────┬─────────┐
       │InterfaceAtributHodnota │
       ├──────────────────┼───────────────┼─────────┤
       │index(), rindex() │ Thread safety │ MT-Safe │
       └──────────────────┴───────────────┴─────────┘

SPLŇUJE STANDARDY

       4.3BSD; marked as LEGACY in  POSIX.1-2001.  POSIX.1-2008  removes  the  specifications  of
       index()  and rindex(), recommending strchr(3) and strrchr(3)  instead.

DALŠÍ INFORMACE

       memchr(3),  strchr(3), string(3), strpbrk(3), strrchr(3), strsep(3), strspn(3), strstr(3),
       strtok(3)

TIRÁŽ

       Tato stránka je součástí projektu Linux man-pages v5.10.  Popis  projektu  a  informace  o
       hlášení chyb najdete na https://www.kernel.org/doc/man-pages/.

PŘEKLAD

       Překlad této příručky do španělštiny vytvořili Pavel Heimlich <tropikhajma@gmail.com>

       Tento  překlad  je bezplatná dokumentace; Přečtěte si GNU General Public License Version 3
       ⟨https://www.gnu.org/licenses/gpl-3.0.html⟩ nebo novější ohledně podmínek autorských práv.
       Neexistuje ŽÁDNÁ ODPOVĚDNOST.

       Pokud  narazíte  na  nějaké  chyby  v  překladu  této  příručky,  pošlete e-mail na adresu
       ⟨translation-team-cs@lists.sourceforge.net⟩.