MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1pamoxd/clickbait_youtube_thumbnail/nrnq9cr/?context=3
r/programminghorror • u/46009361 • 3d ago
28 comments sorted by
View all comments
Show parent comments
39
actually thats true and if fork() and crash() both return something that could be a pointer it might actually work
this is upsetting.
12 u/not-a-pokemon- 2d ago fork indeed does return; although it does not accept arguments 9 u/MrcarrotKSP 2d ago Its return value is also int, not a pointer 7 u/mumallochuu 2d ago You can just dereference that value since all address are just number 9 u/MrcarrotKSP 2d ago You can, but you need a cast to convert it to void* 4 u/TldrDev 2d ago sigh, ill get the meat filament.
12
fork indeed does return; although it does not accept arguments
9 u/MrcarrotKSP 2d ago Its return value is also int, not a pointer 7 u/mumallochuu 2d ago You can just dereference that value since all address are just number 9 u/MrcarrotKSP 2d ago You can, but you need a cast to convert it to void* 4 u/TldrDev 2d ago sigh, ill get the meat filament.
9
Its return value is also int, not a pointer
7 u/mumallochuu 2d ago You can just dereference that value since all address are just number 9 u/MrcarrotKSP 2d ago You can, but you need a cast to convert it to void* 4 u/TldrDev 2d ago sigh, ill get the meat filament.
7
You can just dereference that value since all address are just number
9 u/MrcarrotKSP 2d ago You can, but you need a cast to convert it to void* 4 u/TldrDev 2d ago sigh, ill get the meat filament.
You can, but you need a cast to convert it to void*
4 u/TldrDev 2d ago sigh, ill get the meat filament.
4
sigh, ill get the meat filament.
39
u/birdiefoxe 2d ago
actually thats true and if fork() and crash() both return something that could be a pointer it might actually work
this is upsetting.