LRAND48(3POSIX)
π LRAND48 β ok bestie, it's giving random numbers π
This page is part of the POSIX Programmer's Manual, and it's LRAND48(3POSIX), and we're doing this. π«Ά
Heads up bestie, real talk: the Linux implementation of this interface may differ (so go check the corresponding Linux manual page for the details of Linux behavior), or honestly the interface may not be implemented on Linux at all. π
β¨ PROLOG β¨
Okay so first thing, before we get into it β this manual page is part of the POSIX Programmer's Manual. That's the whole vibe.
But likeβ¦ the Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. So don't come for me if it's not there, okay? π
πΈ NAME πΈ
lrand48 β generate uniformly distributed pseudo-random non-negative long integers
Yes she generates. Yes they're uniform. Yes they're non-negative. Yes they're longs. Queen behavior fr fr. π
π SYNOPSIS π
#include <stdlib.h>
long lrand48(void);
That's it. That's the whole signature. No arguments, no drama, just vibes and a long. β¨
π¦ DESCRIPTION π¦
Refer to drand48().
(Yeah that's literally the whole description. It's giving "go ask her sister". Go read drand48() bestie, that's where the lore lives. π
)
π COPYRIGHT π
Okay so legal moment, but we're doing it with love:
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, they're the main character here, not us. π
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 .
Not me being the messenger π if something looks typo'd it's probably a conversion glitch, and there's a whole link for reporting it, so slay responsibly.
That's the whole page bestie, no notes, we ate and left no crumbs. π
This one came to you from IEEE/The Open Group, dated 2017, and she's filed under LRAND48(3POSIX). Mwah. ππ¦π
π¦ 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