Thread 106153346 - /g/ [Archived: 298 hours ago]

Anonymous
8/5/2025, 8:49:17 PM No.106153346
file
file
md5: b606ebc1f51d956bdeeb4c90ab927981🔍
This is how you read a number in 100% memory-safe type-safe C. Take note, rustrannies!
Replies: >>106153362 >>106153414 >>106154503 >>106157258 >>106157498 >>106157511 >>106157600 >>106157783 >>106158019 >>106158207 >>106160678 >>106161137 >>106162396 >>106163413 >>106164429 >>106165509 >>106165539 >>106165822 >>106166285 >>106167139 >>106167174 >>106167377 >>106168064 >>106169273 >>106173635
Anonymous
8/5/2025, 8:50:12 PM No.106153362
>>106153346 (OP)
>but saaaaaar using c makes me look badass since i call malloc saaaar please saar call me smart because i use malloc saaaaaaaaaar
Replies: >>106157511
Anonymous
8/5/2025, 8:53:29 PM No.106153414
>>106153346 (OP)
Is this an llm thing?
Replies: >>106153562
Anonymous
8/5/2025, 8:56:13 PM No.106153461
i had a stroke reading that code
Anonymous
8/5/2025, 9:02:47 PM No.106153562
>>106153414
No, it's from https://sekrit.de/webdocs/c/beginners-guide-away-from-scanf.html
Replies: >>106166285
Anonymous
8/5/2025, 10:10:40 PM No.106154503
>>106153346 (OP)
This makes me miss my old job. Writing C programs really was a lot of fun.
I yearn for those days when I had written a couple thousand lines and was finally ready to start trying to compile, I would get a bunch of errors but slowly whittle them down until there's not so much as a warning and the program runs for the first time and I start to see the fruits of my labor. *chef's kiss*
Replies: >>106161094 >>106162658
Anonymous
8/5/2025, 10:22:55 PM No.106154674
Screenshot 2025-08-05 222212
Screenshot 2025-08-05 222212
md5: b82df149d44e365cae11e7cade53422c🔍
https://github.com/openbsd/src/blob/master/lib/libc/stdlib/strtonum.c
Replies: >>106159902 >>106172401
Anonymous
8/5/2025, 10:53:27 PM No.106155030
(defun read-integer ()
(format t "Enter a number:~%")
(handler-case (values (parse-integer (read-line)))
(parse-error () (cerror "Try entering a number again." "That is not a number!~%") (read-integer))))
Replies: >>106155241 >>106155571 >>106157952
Anonymous
8/5/2025, 11:14:35 PM No.106155241
>>106155030
I like lisp's integers that default to being variable width. Makes a lot of prototyping algorithm really easy, instead of relying on mpfr/gmp calls
Anonymous
8/5/2025, 11:40:41 PM No.106155571
>>106155030
>no read error
Anonymous
8/6/2025, 2:28:06 AM No.106157258
>>106153346 (OP)
I wrote my own number conversion functions because I don't trust in the C library.
Anonymous
8/6/2025, 2:57:26 AM No.106157498
>>106153346 (OP)
make your life a little easier
https://docs.gtk.org/glib/method.IOChannel.read_line.html
https://docs.gtk.org/glib/func.ascii_strtoll.html
Replies: >>106157580
Anonymous
8/6/2025, 2:59:33 AM No.106157511
>>106153346 (OP)
>>106153362
Just use the standard library. Rust has more boilerplate than C and it has so much more of it that it's not even a contest.
Replies: >>106161104
Anonymous
8/6/2025, 3:08:21 AM No.106157580
>>106157498
>le global errno
Dude, just return a fucking error, at least they are not using the locale shit.
Anonymous
8/6/2025, 3:11:36 AM No.106157600
>>106153346 (OP)
Use case?
Anonymous
8/6/2025, 3:29:11 AM No.106157733
In Beef it's just
static int Main()
{
Loop:repeat
{
Console.Write("Enter a number: ");
let buffer = Console.ReadLine(.. scope .());

switch (int64.Parse(buffer))
{
case .Ok(let val):
Console.WriteLine("You've entered: {}", val);
break Loop;

case .Err(.Overflow):
Console.WriteLine("Sorry, this number is too small or too large");

case .Err(let err):
Console.WriteLine("Error: {}", err);
}
} while (true);

return 0;
}
Replies: >>106166527
Anonymous
8/6/2025, 3:37:38 AM No.106157783
1750702545663769
1750702545663769
md5: ffa28630618eb1ee45f744ed1255a7bf🔍
>>106153346 (OP)
Replies: >>106158072 >>106160433 >>106160795 >>106167284
Anonymous
8/6/2025, 4:04:28 AM No.106157952
>>106155030
>lisp

End of discussion.
Anonymous
8/6/2025, 4:14:41 AM No.106158019
>>106153346 (OP)
#include <stdlib.h>

char line[256];
int n;
printf("Type an integer:\n");
getline(line, 256);
n = atoi(line);
Anonymous
8/6/2025, 4:24:34 AM No.106158072
>>106157783
>blue checkmark
>greentexting on twitter
>filtered by lifetimes
Tells me all I need to know
Replies: >>106158149 >>106160433
Anonymous
8/6/2025, 4:36:02 AM No.106158149
1723365195363772
1723365195363772
md5: 332e9b873b49c9d0c28b96d2e2c41d93🔍
>>106158072
Replies: >>106158174 >>106158509 >>106158671 >>106166564 >>106169054
Anonymous
8/6/2025, 4:40:33 AM No.106158174
>>106158149
Doesn't /g/ hate systemd? Wouldn't this be an endorsement of sorts?
Replies: >>106158671
Anonymous
8/6/2025, 4:45:04 AM No.106158207
>>106153346 (OP)
jesus is this what AI code looks like? it looks like the kind of code i'd be embarrassed to see from a new hire.
Replies: >>106163309
Anonymous
8/6/2025, 5:25:57 AM No.106158509
>>106158149
Is there a way to disable Rust kernel modules?
Replies: >>106158671
Anonymous
8/6/2025, 5:53:39 AM No.106158671
172336517158249
172336517158249
md5: 06abff2ac662de8411ef49dc303af40e🔍
>>106158149
>>106158174
>>106158509
fake screenshot
https://github.com/systemd/systemd/issues/18767#issuecomment-784570324
Replies: >>106158745 >>106167650
Anonymous
8/6/2025, 6:08:06 AM No.106158745
>>106158671
it was edited later its real
Replies: >>106167650
Anonymous
8/6/2025, 9:44:37 AM No.106159902
>>106154674
I hate the single return boomerism
Anonymous
8/6/2025, 10:25:39 AM No.106160143
usecase for user entered numbers or strings?
Anonymous
8/6/2025, 11:15:45 AM No.106160433
kai_fall
kai_fall
md5: 8bf3023a3782c9c09c7b4034248cbbc9🔍
>>106157783
>>106158072
kai_fall is a retard h1b pajeet lmao
https://www.reddit.com/r/golang/comments/y9priy/go_vs_scala_vs_scss/?q=kai_fall&type=comments
Replies: >>106165544
Anonymous
8/6/2025, 11:18:33 AM No.106160451
every day this fucking retard starts a thread whining about either go or c, yet he clearly doesn't know either
Replies: >>106161137
Anonymous
8/6/2025, 12:01:00 PM No.106160678
>>106153346 (OP)
>100% memory-safe
what if they entered 1025 characters?
Replies: >>106162578 >>106162675
Anonymous
8/6/2025, 12:23:08 PM No.106160795
>>106157783
Rust is fine if you use it like C. Unfortunately most people don't write Rust like they write C.
Replies: >>106161137 >>106161443 >>106164675 >>106166013
Anonymous
8/6/2025, 1:08:40 PM No.106161077
Ok so write a small header library for macros/inline functions to check these things. I'm sure something exists that does this for you if you're really that retarded.
Anonymous
8/6/2025, 1:10:56 PM No.106161094
>>106154503
Holy cringe.
Anonymous
8/6/2025, 1:12:53 PM No.106161104
>>106157511
Just write your own library, you cuck. It's not that hard. libc is mostly locale-dependant dogshit.
Anonymous
8/6/2025, 1:18:31 PM No.106161137
>>106153346 (OP)
>>106160451
>Memory safety is when you're pedantic about error checking instead of showing an error dialog when a function returns an unexpected value
Yeah OP clearly doesn't know what he's talking about.
>>106160795
They said that about C++ too. Unlike C++ Rust doesn't have ABI compatibiltiy.
Anonymous
8/6/2025, 1:58:06 PM No.106161443
>>106160795
>Rust is fine
It really isn't.
Anonymous
8/6/2025, 3:51:26 PM No.106162396
>>106153346 (OP)
Good, so I just write that once and then I won't have to worry about my small program ballooning to 20MB?
Anonymous
8/6/2025, 4:14:14 PM No.106162578
>>106160678
check that a terminator exists in the buffer before using cstdlib string functions.
or don't use cstdlib string functions because its 2025 and we've known about the problems for 30 years
Anonymous
8/6/2025, 4:24:30 PM No.106162658
>>106154503
>the program runs for the first time and I start to see the fruits of my labor: *segfault*
Anonymous
8/6/2025, 4:26:22 PM No.106162675
>>106160678
fgets reads 1023 and sets the null terminator.
Replies: >>106162712
Anonymous
8/6/2025, 4:30:22 PM No.106162712
>>106162675
what happens when you call fgets again? is what's left of the previous buffer still there? i recall bumping into that behavior at some point
Replies: >>106162805
Anonymous
8/6/2025, 4:38:27 PM No.106162805
>>106162712
In that the rest would be in stdin's buffer. So in next iteration fgets reads those.
Replies: >>106162822
Anonymous
8/6/2025, 4:39:37 PM No.106162822
>>106162805
i thought either windows or linux threw it away, but maybe im high
Anonymous
8/6/2025, 5:16:24 PM No.106163309
>>106158207
I doubt you've ever worked a job let alone hired anyone
Replies: >>106163330
Anonymous
8/6/2025, 5:17:51 PM No.106163330
>>106163309
what's the matter, neet can't imagine someone being productive and contributing to society in a meaningful way?
Anonymous
8/6/2025, 5:22:09 PM No.106163391
Your brain is broken, did you get chatgpt to write that reply?
Anonymous
8/6/2025, 5:24:11 PM No.106163413
>>106153346 (OP)
int main(int argc, char* argv[])
no return statement
not storing and replacing the incoming errno
retarded comments

microsoft is cancer
Replies: >>106165822
Anonymous
8/6/2025, 7:02:19 PM No.106164429
>>106153346 (OP)
>char buf[1024]
An unsigned integer (uint64_t) only has like 20 characters (in decimal).
Replies: >>106164863
Anonymous
8/6/2025, 7:25:10 PM No.106164675
>>106160795
if you think rust is fine you are probably okay with pacifisim
Anonymous
8/6/2025, 7:44:13 PM No.106164863
>>106164429
can't you read the comment? "just to be sure"
degenerates like him belong on a cross and are why fucking notepad is burning 17% of my cpu and using 2.5 GB of ram to open a 1 MB text file
Replies: >>106167592
Anonymous
8/6/2025, 8:37:27 PM No.106165509
>>106153346 (OP)
Looks simple and readable to me. I don't get your problem.
Anonymous
8/6/2025, 8:39:53 PM No.106165539
>>106153346 (OP)
I'm nooting!
Anonymous
8/6/2025, 8:40:17 PM No.106165544
>>106160433
so just like most of /g/?
Anonymous
8/6/2025, 9:01:52 PM No.106165810
User input is considered gay in computer science. Only gay men want to take input, and they write programs. If you insist on being gay, go full on bug chaser with raw scanf.
Replies: >>106165933
Anonymous
8/6/2025, 9:03:09 PM No.106165822
>>106153346 (OP)
Keep up the studies with need more C men
>>106163413
Java is cancer, int argc, char* argv[] , should used unless the application is to use to it.

I guess you could only read comments, as single glance told me snipped was written by a man from the void, with a ugly neomodernistic style.
Replies: >>106166080 >>106166136
Anonymous
8/6/2025, 9:11:26 PM No.106165933
>>106165810
>they write programs.
*they write GAY programs
Anonymous
8/6/2025, 9:15:51 PM No.106165980
I know its bike shedding, but I always preferred to have ndone as a variable opposed to something like success. I never really liked having to negate my loop condition, with a ndone, you can set it to true for the task not being done and false once it completes.
Anonymous
8/6/2025, 9:18:32 PM No.106166013
>>106160795
If only there was a language that lets you write C code out of the box.
Replies: >>106166837
Anonymous
8/6/2025, 9:24:13 PM No.106166080
>>106165822
msvc started the void main(void) crap.
that program is spitting loads of compiler warnings, whats two more about unused variables?
Anonymous
8/6/2025, 9:29:16 PM No.106166136
>>106165822
>should used unless the application is to use to it.
Fuck no. It should be part of a library or something, like int getargscount(void) and const uint8_t* getargs(int) because that is how the OS works.
Replies: >>106166363 >>106167091
Anonymous
8/6/2025, 9:41:41 PM No.106166285
>>106153346 (OP)
>>106153562
>https://sekrit.de/webdocs/c/beginners-guide-away-from-scanf.html
i lost iq from reading this article

i will find you op, and do unspeakable things to you
Anonymous
8/6/2025, 9:50:32 PM No.106166363
>>106166136
>that is how the OS works
what OS?
windows doesn't parse arguments
Replies: >>106166950
Anonymous
8/6/2025, 10:06:25 PM No.106166527
>>106157733
what is the :repeat after Loop label for? wtf is .. scope .() shit?
Anonymous
8/6/2025, 10:09:14 PM No.106166564
>>106158149
>systemd
>"basic building block for Linux systems"
kek
Anonymous
8/6/2025, 10:36:56 PM No.106166837
>>106166013
I like C but using shell scripts to build my project fucking sucks.
>inb4 use x build system
They are all, without fail, worse than using shell scripts.
Replies: >>106166846 >>106166936
Anonymous
8/6/2025, 10:37:37 PM No.106166846
>>106166837
embrace the suck that is cmake
Replies: >>106166936
Anonymous
8/6/2025, 10:45:38 PM No.106166936
>>106166837
>>106166846
mmmmmmakefile
NAME := nouvo

CC := gcc
CFLAGS := -O3 -march=native -funroll-all-loops -flto -fgnu89-inline -g

SOURCE_DIR := src/
INCLUDE_DIR := inc/
CURRENt_cell_path := $(PWD)

SOURCES := $(shell find . -name '*.c')
INCLUDES_PATHS := $(shell find . -name '*.h')
INCLUDES := $(foreach path, $(sort $(dir $(shell find $(CURRENt_cell_path) -name *.h))), -I $(path))

all :
clear
$(CC) $(CFLAGS) $(SOURCES) -o $(NAME) $(INCLUDES)
Replies: >>106167005 >>106167083
Anonymous
8/6/2025, 10:46:30 PM No.106166950
>>106166363
Yes, that is what I mean.
Anonymous
8/6/2025, 10:51:11 PM No.106167005
>>106166936
I'll give it a try. Ty white man.
Replies: >>106167026
Anonymous
8/6/2025, 10:53:06 PM No.106167026
>>106167005
you're welcome
Anonymous
8/6/2025, 11:00:01 PM No.106167083
meson (2)
meson (2)
md5: 129f2cbca1002d5a03c93050b8150d67🔍
>>106166936
Fucking nigger-
Replies: >>106167286
Anonymous
8/6/2025, 11:01:24 PM No.106167091
>>106166136
Java sickness at OS level
Anonymous
8/6/2025, 11:06:09 PM No.106167139
simple
simple
md5: 9465dfd0cb5033b4f5a8bfbc4263688b🔍
>>106153346 (OP)
scanf is not evil, it's simple and powerful
Replies: >>106167257 >>106167314
Anonymous
8/6/2025, 11:08:37 PM No.106167174
>>106153346 (OP)
>Sorry, this number is too small or too large.
Are you fucking insane?
Replies: >>106167251
Anonymous
8/6/2025, 11:14:30 PM No.106167251
>>106167174
>https://sekrit.de/webdocs/c/beginners-guide-away-from-scanf.html

He just copy pasted a snippet
Anonymous
8/6/2025, 11:15:07 PM No.106167257
1754514846684981940397657405136
1754514846684981940397657405136
md5: 44fcf19cfec51f3abd05bf2119842a7b🔍
>>106167139
Some graybeards think you need error checking for "hello world!". I'm not even fucking joking.
Replies: >>106167265 >>106167369 >>106167533 >>106167556 >>106167602 >>106168019
Anonymous
8/6/2025, 11:16:08 PM No.106167265
>>106167257
My phone is a fag.
Replies: >>106172247
Anonymous
8/6/2025, 11:18:03 PM No.106167284
>>106157783
>somebody who chops off their own dick is a masochist
well color me surprised! who would have thunk?
Anonymous
8/6/2025, 11:18:07 PM No.106167286
Screencast from 06-08-25 23-11-19_thumb.jpg
Screencast from 06-08-25 23-11-19_thumb.jpg
md5: c70d8e59f4913c0a1fa39d1467f9b1d8🔍
>>106167083
im really not sure i wanna deal with this
Anonymous
8/6/2025, 11:20:23 PM No.106167314
>>106167139
What if the read fails and the unititialized example is between 1 and 6000?
Replies: >>106167337 >>106167434
Anonymous
8/6/2025, 11:22:15 PM No.106167337
>>106167314
Then you don't get to see a number. OH THE HUMANITY
Replies: >>106167342
Anonymous
8/6/2025, 11:23:00 PM No.106167342
>>106167337
Yes you do
Anonymous
8/6/2025, 11:25:23 PM No.106167369
>>106167257
Hahaha, the author is probably the idiot that submits to the new iso trash.
Anonymous
8/6/2025, 11:26:21 PM No.106167377
>>106153346 (OP)
We should do away with headers
Anonymous
8/6/2025, 11:32:03 PM No.106167434
>>106167314
Well you clearly failed to read
Anonymous
8/6/2025, 11:43:22 PM No.106167533
>>106167257
name this faggot with the bad grammar
Replies: >>106167577
Anonymous
8/6/2025, 11:46:02 PM No.106167556
>>106167257
This actually made me laugh
Replies: >>106167611
Anonymous
8/6/2025, 11:49:19 PM No.106167577
>>106167533
Seacord. Could honestly be anyone on the c committee though. They all think they're writing the next Critique of Pure Reason. They want the language to seem as perfectly unapproachable as possible.
Anonymous
8/6/2025, 11:50:58 PM No.106167592
>>106164863
A stack-allocated array costs literally nothing.
Anonymous
8/6/2025, 11:51:51 PM No.106167602
>>106167257
its an educational piece
you dont wanna be teaching bad habits
i agree with the author
learn to walk before you run

if more people got trained in the spirit of nigh-autistic attention to detail, c code would have been of much higher quality
i was, i learned in a peer learning setting where we checked eachother's programs
at first it made me paranoid but with experience this morphed into rock solid work habits
Anonymous
8/6/2025, 11:53:43 PM No.106167611
>>106167556
The only way I could even find of triggering an error was outputting to the bit bucket. I guess if you're trying to "hello world" on a wind up alarm clock, this "safe c" will really come in handy.
Replies: >>106167712
Anonymous
8/6/2025, 11:56:47 PM No.106167650
>>106158671
Why do cniles always lie?

>>106158745
Why doesn't it say it was edited next to post timestamp?
Replies: >>106167672
Anonymous
8/6/2025, 11:59:25 PM No.106167672
Screenshot from 2025-08-06 23-58-30
Screenshot from 2025-08-06 23-58-30
md5: d13b00258bf813bdded5ba3ac624b109🔍
>>106167650
>t. projecting nocodeshitter
Anonymous
8/7/2025, 12:04:15 AM No.106167712
>>106167611
thats not really the point though, is it?
how many c programs have you seen where return values are never checked?
Replies: >>106167841
Anonymous
8/7/2025, 12:14:59 AM No.106167841
17545183162334437797601523730886
17545183162334437797601523730886
md5: e8015f8d62b1b0caec44a6efc49cfe94🔍
>>106167712
The author of that safe code abomination got to have fun learning c with gets() from r&k, but his "from scratch" intro book jumps from a brainfuck hello world to alignment specifiers in mere pages... with zero ramp up. Just completely out of the blue after telling us what an int is.
Replies: >>106168025 >>106168523
Anonymous
8/7/2025, 12:30:39 AM No.106168019
r1
r1
md5: e99f5f933d15481bc9a1653596121137🔍
>>106167257
Anonymous
8/7/2025, 12:31:42 AM No.106168025
r2
r2
md5: 82c42c6f054877e8a30bcd68c8554382🔍
>>106167841
Anonymous
8/7/2025, 12:35:43 AM No.106168064
>>106153346 (OP)
Nice try, but I don't read.
Anonymous
8/7/2025, 1:22:03 AM No.106168523
>>106167841
...based? Why would I need yet another programming book to explain integers? Not every book needs to be aimed at the absolute beginners.
Replies: >>106168702
Anonymous
8/7/2025, 1:37:48 AM No.106168702
>>106168523
Sure. The book sells itself as being for absolute beginners. Fear not though. Despite introducing very complex and niche concepts like above, it doesn't cover them in any depth whatsoever.

Incidentally, it devotes dozens of pages to drilling into into and arithmetic. Not pointer arithmetic, but a bare metal examination what happens to individual bits during basic addition and subtraction.

Ints and chars are of course covered at nauseating length after perplexing the "absolute beginner" target of the book with near zero depth forays into endianess and function pointers, which are never to be mentioned again.

Point being. Don't read c committee guys books. They're not "for" anyone.
Anonymous
8/7/2025, 2:10:03 AM No.106169054
>>106158149
>IBM Power servers still exist
I thought that architecture died in like 2015? Nobody runs anything except arm64, amd64, and a few financial dinosaurs still running s390x compatibles these days.
Your server is either an Android phone mining bitcoin on USB-C or a Dell rackable and nothing else.
Anonymous
8/7/2025, 2:32:09 AM No.106169273
>>106153346 (OP)
Only C, JVM (Java, Clojure, Scala, Kotlin) and Haskell exist. All other languages are irrelevant
>I wanna webshit
Use a JVM language for the backend. If you use something that isn't a shit library like Spring Boot you're going to be ok, the JVM is really good with it's GC. Don't really like java? Use literally any other JVM based language.
>Quick CLI utility
Either Haskell or C, bash if it's really really simple. Haskell if you'll be parsing text. Parser combinators ftw.
>Performance intensive application
C or C-style C++, in the worst case (please no "modern" C++). No you don't need Rust, yes you can use Assembly if it's something that needs that much optimization.
>I want to do big data
JVM, once again
>AI! LLMs!
Java or C++. Python is a massive cope for this.
>I'm only learning programming to get a job
Java is the best language for enterprise bullshitting and moving papers around pretending to work (modern software development)

You shouldn't bother with any other languages
Replies: >>106172263 >>106173453
Anonymous
8/7/2025, 8:52:22 AM No.106172247
>>106167265
It's because 4chan strips the EXIF rotation metadata.
Anonymous
8/7/2025, 8:56:21 AM No.106172263
>>106169273
>implying JVM isn't C
Anonymous
8/7/2025, 9:20:08 AM No.106172401
>>106154674
I'm not that fluent in C.
When calling that function you'll pass a reference to a string to store an error in (const char **errstrp). You could pass NULL if you don't care. But if you pass a valid pointer and there is an error, the pointer will be set to a string that's defined within the function: *errstrp = ev[error].errstr;

Could that not cause issues? Like memory leaks if the memory is never freed, or use after free if it is?
Replies: >>106175344
Anonymous
8/7/2025, 12:12:38 PM No.106173453
>>106169273
> Java is the best language for enterprise bullshitting
it's no longer 1998. java shit is rapidly depreciating since oracle went full retard with licensing, forcing people to use the openjdk or just abandoning java completely.
Anonymous
8/7/2025, 12:38:33 PM No.106173635
>>106153346 (OP)
If I had to write a program that only reads numbers from stdin it'd look like this
#include <errno.h>
#include <unistd.h>

/* returns
* 0 success
* >0 error
* <0 EOF */
static int
next_int(int *p) {
static char buf[512];
static int i, n;
int err, sign, x;
int ret, c;
err = 1;
sign = 1;
x = 0;
for (; ; i++) {
if (i >= n) {
do
ret = read(0, buf, sizeof buf);
while (ret == -1 && errno == EINTR);
if (ret == -1)
return 1;
if (ret == 0) {
err = -err;
break;
}
n = ret;
i = 0;
}
c = buf[i];
if (err == 1)
switch (c) {
case '-':
sign = -1;
case '+':
err = 2;
case ' ': case '\n': case '\t':
continue;
}
if (c < '0' || c > '9')
break;
if (x >= 100000000)
return 1;
x = x*10 + c-'0';
err = 0;
}
if (!err)
*p = sign*x;
return err;
}
Replies: >>106178982
Anonymous
8/7/2025, 4:21:10 PM No.106175344
>>106172401
it's static const string, not allocated. no need to free it
Replies: >>106178923 >>106179636
Anonymous
8/7/2025, 7:50:22 PM No.106178923
>>106175344
Why is it static?

I mean, I'm sure it's fine given where it's from.
Anonymous
8/7/2025, 7:52:15 PM No.106178982
>>106173635
Never write C ever again
Anonymous
8/7/2025, 8:15:27 PM No.106179636
>>106175344
It's not static, chud, it's stack allocated.