---
name: "_atoi64"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/_atoi64"
---

# \_atoi64(3w)

## NAME

**\_atoi64** (NTDLL.@)

## SYNOPSIS

LONGLONG \_atoi64\
  (\
   const char\* *str*\
  )

## DESCRIPTION

Convert a string to a large integer.

## PARAMS

*str* **\[In\]**  String to be converted.

## RETURNS

**Success:** The integer value represented by *str*.

**Failure:** **0.** Note that this cannot be distinguished from a successful return, if the string contains **"0"**.

## NOTES

**-** Accepts: {whitespace} \[+\|-\] {digits}

**-** No check is made for value overflow, only the lower **64** bits are assigned.

**-** If *str* is **NULL** it crashes, as the native function does.

## IMPLEMENTATION

Declared in **"msvcrt/stdlib.h"**.

Implemented in **"dlls/ntdll/string.c"**.
