~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/my_strtoll10.cc

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
 
30
30
/*
31
31
  Convert a string to an to uint64_t integer value
32
 
  
 
32
 
33
33
  SYNOPSYS
34
34
    my_strtoll10()
35
35
      nptr     in       pointer to the string to be converted
36
36
      endptr   in/out   pointer to the end of the string/
37
37
                        pointer to the stop character
38
38
      error    out      returned error code
39
 
 
 
39
 
40
40
  DESCRIPTION
41
41
    This function takes the decimal representation of integer number
42
42
    from string nptr and converts it to an signed or unsigned
48
48
    The function stops reading the string nptr at the first character
49
49
    that is not a decimal digit. If endptr is not NULL then the function
50
50
    will not read characters after *endptr.
51
 
 
 
51
 
52
52
  RETURN VALUES
53
53
    Value of string as a signed/unsigned int64_t integer
54
54