Scroll to navigation

SIMPLE_STRTOL(9) Basic C Library Functions SIMPLE_STRTOL(9)

NAME

simple_strtol - convert a string to a signed long

SYNOPSIS

long simple_strtol(const char * cp, char ** endp, unsigned int base);

ARGUMENTS

const char * cp

The start of the string

char ** endp

A pointer to the end of the parsed string will be placed here

unsigned int base

The number base to use

DESCRIPTION

This function is obsolete. Please use kstrtol instead.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11