Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v52ec9$2g59p$1@news.xmission.com>
Deutsch   English   Français   Italiano  
<v52ec9$2g59p$1@news.xmission.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.lang.c
Subject: Re: The difference between strtol() and strtoul() ?
Date: Thu, 20 Jun 2024 23:35:37 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <v52ec9$2g59p$1@news.xmission.com>
References: <v51d1l$2fklr$1@news.xmission.com> <20240620154213.917@kylheku.com>
Injection-Date: Thu, 20 Jun 2024 23:35:37 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
	logging-data="2626873"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
Bytes: 1754
Lines: 27

In article <20240620154213.917@kylheku.com>,
Kaz Kylheku  <643-408-1753@kylheku.com> wrote:
....
>If strtol didn't exist today, making it necessary to invent it or
>something like it, that function should use the intmax_t type.
>Then there wouldn't be any need to add new variants going forward.

There actually is.

STRTOIMAX(3)               Linux Programmer's Manual              STRTOIMAX(3)



NAME
       strtoimax, strtoumax - convert string to integer

SYNOPSIS
       #include <inttypes.h>

       intmax_t strtoimax(const char *nptr, char **endptr, int base);
       uintmax_t strtoumax(const char *nptr, char **endptr, int base);

DESCRIPTION
       These  functions  are  just  like strtol(3) and strtoul(3), except that
       they return a value of type intmax_t and uintmax_t, respectively.

-- 
Conservatives want smaller government for the same reason criminals want fewer cops.