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

« back to all changes in this revision

Viewing changes to libc/string/strlen.S

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2007-08-09 11:28:01 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070809112801-ps7wognnynio9kz7
Tags: 1:1.4.6-1
New upstream release

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: strlen.S,v 1.7 2005/10/30 19:36:53 aesok Exp $ */
 
29
/* $Id: strlen.S,v 1.7.2.1 2007/01/23 15:34:58 joerg_wunsch Exp $ */
30
30
 
31
31
#include "macros.inc"
32
32
 
33
33
#define src_hi r25
34
34
#define src_lo r24
35
35
 
 
36
/** \file */
 
37
 
36
38
/** \ingroup avr_string
37
39
    \fn size_t strlen(const char *src)
38
40
    \brief Calculate the length of a string.