ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/lib/libc/i386/string/strrchr.S
(Generate patch)

Comparing trunk/lib/libc/i386/string/strrchr.S (file contents):
Revision 10584 by laffer1, Sat Dec 7 23:54:44 2013 UTC vs.
Revision 10585 by laffer1, Fri Jun 8 12:06:55 2018 UTC

# Line 1 | Line 1
1 + /* $MidnightBSD$ */
2   /*
3   * Copyright (c) 1993 Winning Strategies, Inc.
4   * All rights reserved.
# Line 29 | Line 30
30   */
31  
32   #include <machine/asm.h>
33 < __FBSDID("$FreeBSD$");
33 > __FBSDID("$FreeBSD: stable/10/lib/libc/i386/string/strrchr.S 249582 2013-04-17 11:40:10Z gabor $");
34  
35   /*
36   * strrchr(s, c)
37 < *      return a pointer to the last occurance of the character c in
37 > *      return a pointer to the last occurrence of the character c in
38   *      string s, or NULL if c does not occur in the string.
39   *
40   * %edx - pointer iterating through string
41 < * %eax - pointer to last occurance of 'c'
41 > * %eax - pointer to last occurrence of 'c'
42   * %cl  - character we're comparing against
43   * %bl  - character at %edx
44   *
# Line 63 | Line 64 | L2:    
64          popl    %ebx
65          ret
66   END(strrchr)
67 +
68 + WEAK_ALIAS(rindex, strrchr)
69  
70          .section .note.GNU-stack,"",%progbits

Comparing trunk/lib/libc/i386/string/strrchr.S (property svn:keywords):
Revision 10584 by laffer1, Sat Dec 7 23:54:44 2013 UTC vs.
Revision 10585 by laffer1, Fri Jun 8 12:06:55 2018 UTC

# Line 0 | Line 1
1 + MidnightBSD=%H

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines