GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
ASTOL(3) Schily´s LIBRARY FUNCTIONS ASTOL(3)

astol() - converts ASCII to long

astol(string,l)
char *string;
int *l;

astol() converts the characters pointed to by string to a long stored at l. It returns a pointer to the first character in the string that was not used for the conversion. If the entire string is to be used, it should point to a NULL character ('\0'). Leading spaces and tabs are skipped.

extern char *astol();
if (*astod(string, &l) != '\0')
	error("Not a number %s\n", string);

astod(3), astof(3), astoi(3)

Returns a pointer to first unused character.

none
15. Juli 1988 Joerg Schilling

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.