Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /*      strnlen()                                       Author: Kees J. Bot */
  2. /*                                                              1 Jan 1994 */
  3.  
  4. /* size_t strnlen(const char *s, size_t n) */
  5. /*      Return the length of a string. */
  6. /* */
  7. #include "asm.h"
  8.  
  9. ENTRY(strnlen)
  10.         movl    8(%esp), %ecx   /* Maximum length */
  11.         jmp     _C_LABEL(_strnlen) /* Common code */
  12.