Subversion Repositories Kolibri OS

Rev

Rev 1412 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. /*      strncmp()                                       Author: Kees J. Bot */
  2. /*                                                              1 Jan 1994 */
  3.  
  4. /* int strncmp(const char *s1, const char *s2, size_t n) */
  5. /*      Compare two strings. */
  6. /* */
  7. #include "asm.h"
  8.  
  9. ENTRY(strncmp)
  10.         movl    12(%esp), %ecx  /* Maximum length */
  11.         jmp     _C_LABEL(_strncmp) /* Common code */
  12.