home *** CD-ROM | disk | FTP | other *** search
/ PC Extra Super CD 1998 January / PCPLUS131.iso / DJGPP / V2 / DJLSR201.ZIP / src / libc / ansi / stdlib / strtoull.txh < prev    next >
Encoding:
Text File  |  1996-05-20  |  496 b   |  28 lines

  1. @node strtoull, string
  2. @subheading Syntax
  3.  
  4. @example
  5. #include <stdlib.h>
  6.  
  7. unsigned long long strtoull(const char *s, char **endp, int base);
  8. @end example
  9.  
  10. @subheading Description
  11.  
  12. This is just like @code{strtoll} (@pxref{strtoll}) except that the result
  13. is unsigned. 
  14.  
  15. @subheading Return Value
  16.  
  17. The value.
  18.  
  19. @subheading Example
  20.  
  21. @example
  22. printf("Enter a number: "); fflush(stdout);
  23. gets(buf);
  24. char *bp;
  25. printf("The value is %llu\n", strtoull(buf, &bp, 0));
  26. @end example
  27.  
  28.