~ubuntu-branches/ubuntu/maverick/avr-libc/maverick

« back to all changes in this revision

Viewing changes to libc/string/memchr.S

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2007-08-09 11:28:01 UTC
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: james.westby@ubuntu.com-20070809112801-eckgt4nmkwhxgiye
Tags: upstream-1.4.6
ImportĀ upstreamĀ versionĀ 1.4.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (c) 2002, Marek Michalkiewicz
 
1
/* Copyright (c) 2002, 2007 Marek Michalkiewicz
2
2
   All rights reserved.
3
3
 
4
4
   Redistribution and use in source and binary forms, with or without
26
26
  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
27
  POSSIBILITY OF SUCH DAMAGE. */
28
28
 
29
 
/* $Id: memchr.S,v 1.7 2005/11/05 16:49:46 aesok Exp $ */
 
29
/* $Id: memchr.S,v 1.7.2.1 2007/01/23 15:34:58 joerg_wunsch Exp $ */
30
30
 
31
31
#include "macros.inc"
32
32
 
40
40
#define ret_hi r25
41
41
#define ret_lo r24
42
42
 
 
43
/** \file */
 
44
 
43
45
/** \ingroup avr_string
44
46
        \fn void *memchr(const void *src, int val, size_t len)
45
47
    \brief Scan memory for a character.