LCONG48(3POSIX)
πΈ LCONG48(3POSIX) πΈ
okay bestie, welcome to the POSIX Programmer's Manual β¨ this one's a lil baby page but we're gonna treat it with the respect it deserves π
π«Ά PROLOG π«Ά
so like, real talk first β this manual page is part of the POSIX Programmer's Manual. but heads up:
the Linux implementation of this interface may differ from what's written here. so if you're on Linux, go peek at the corresponding Linux manual page for the actual deets on how Linux does it. OR π β and this is the spicy part β the interface might just straight up not be implemented on Linux at all. vibe check failed, no interface for you π
π NAME π
lcong48 β seed a uniformly distributed pseudo-random signed long integer generator π²β¨
like. it seeds the thing. the thing makes random-ish signed long integers. uniformly distributed. iconic behaviour honestly.
π SYNOPSIS π
#include <stdlib.h>
void lcong48(unsigned short param[7]);
that's it. that's the whole signature. seven unsigned shorts in an array named param, no return value, we love a void function that just does things π«Ά
π¦ DESCRIPTION π¦
Refer to drand48().
...yeah bestie that's literally the whole section π the POSIX girlies said "go read drand48()" and closed the doc. no cap. the actual lore lives over there, this page is just the doorway π
π COPYRIGHT π
okay legal moment, stay with me, this matters:
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1-2017, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 7, 2018 Edition, Copyright (C) 2018 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group.
In the event of any discrepancy between this version and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. like, the original is the main character, this is the fan edit π
The original Standard can be obtained online at http://www.opengroup.org/unix/online.html .
Any typographical or formatting errors that appear in this page are most likely to have been introduced during the conversion of the source files to man page format. To report such errors, see https://www.kernel.org/doc/man-pages/reporting_bugs.html .
and that's the whole page, bestie!! π thanks for reading, mwah π
this lil artifact comes to you courtesy of IEEE/The Open Group, dated 2017 β¨ periodt πΈ
π¦ where this page comes from
- debian bookworm: manpages-posix-dev 2017a-2 Β· Other
- debian trixie: manpages-posix-dev 2017a-2 Β· Other
- ubuntu jammy: manpages-posix-dev 2017a-2 Β· Other
- ubuntu noble: manpages-posix-dev 2017a-2 Β· Other
- ubuntu resolute: manpages-posix-dev 2017a-2build1 Β· Other
- ubuntu stonking: manpages-posix-dev 2017a-2.1 Β· Other
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms