Skip to content

Instantly share code, notes, and snippets.

@yosoufe
yosoufe / install_gcc_9.3.0.md
Last active July 26, 2022 14:19
Compile and install gcc-9.3.0
@attractivechaos
attractivechaos / getopt.c
Created February 18, 2018 13:28
Implementation of getopt() and getopt_long() from musl
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include "getopt.h"
char *optarg;
int optind=1, opterr=1, optopt, __optpos, optreset=0;
#define optpos __optpos