HNHacker News
TopNewBestAskShowJobs

ntoslinux

215 karma · joined August 9, 2021

submissionscomments
ntoslinux··on A single-file C allocator with explicit heaps and tuning knobs
What is the reason for the weird `{ code };` blocks everywhere and is the below code machine generated?

```c ((PageSize) (chunk->pageSize - ((PageSize) ((PageSize) ((PageSize) (sizeof(Page) + (sizeof(struct _Block))) + (PageSize) ((sizeof(double)) - 1u)) & ((PageSize) (~((PageSize) ((sizeof(double)) - 1u)))))) - ((PageSize) ((PageSize) ((PageSize) ((sizeof(FreeBlock) + sizeof(PageSize))) + (PageSize) (((((sizeof(double)) > (4)) ? (sizeof(double)) : (4))) - ```

ntoslinux··on Richard Stallman Announces GNU C Language Reference Manual
Thanks for the instructions.

sudo apt update

sudo apt install texlive-latex-extra

sudo apt install dvipdf

sudo apt install ghostscript

sudo apt install texinfo

git clone https://git.savannah.gnu.org/git/c-intro-and-ref.git

cd c-intro-and-ref

make c.pdf

makeinfo --html -v c.texi -o c.html --no-split