simple_strtol(9)

simple_strtol9

Convert a string to a signed long

Usage

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

Arguments

cp

The start of the string

endp

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

base

The number base to use

Overview

This function is obsolete. Please use kstrtol instead.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.