This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "../internal/internal.h" | |
#include <stdarg.h> | |
#include <string.h> | |
static int __convtab[20] = { '0', '1', '2', '3', '4', '5', '6', '7', | |
'8', '9', 'a', 'b', 'c', 'd', 'e', 'f' }; | |
size_t __uint2str_inter(char *s, size_t n, int base, size_t i) | |
{ | |
if (n / base) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <errno.h> | |
#include <limits.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
int main(void) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <errno.h> | |
#include <limits.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
int main(void) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <errno.h> | |
#include <limits.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <unistd.h> | |
int main(void) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.file "crt1.c" | |
.text | |
.globl _start | |
.type _start, @function | |
_start: | |
.LFB0: | |
.cfi_startproc | |
pushq %rbp | |
.cfi_def_cfa_offset 16 | |
.cfi_offset 6, -16 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Written 2011 Nicholas J. Kain, released as Public Domain */ | |
.weak _init | |
.weak _fini | |
.text | |
.global _start | |
_start: | |
xor %rbp,%rbp /* rbp:undefined -> mark as zero 0 (ABI) */ | |
mov %rdx,%r9 /* 6th arg: ptr to register with atexit() */ | |
pop %rsi /* 2nd arg: argc */ | |
mov %rsp,%rdx /* 3rd arg: argv */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nixpkgs.config = { | |
allowUnfree = true; | |
environment = {...}: { | |
options = { | |
systemPackages = lib.mkOption { | |
apply = old: []; | |
}; | |
}; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ configs, pkgs, lib, ... }: | |
{ | |
imports = [ | |
/etc/nixos/hardware-configuration.nix | |
({ | |
options = { | |
environment.systemPackages = lib.mkOption { | |
apply = lib.lists.remove pkgs.nixos-icons; | |
}; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ configs, pkgs, lib, ... }: | |
{ | |
imports = [ | |
/etc/nixos/hardware-configuration.nix | |
({ | |
options = { | |
environment.systemPackages = lib.mkOption { | |
apply = lib.lists.remove pkgs.nixos-icons; | |
}; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ configs, pkgs, lib, ... }: | |
{ | |
imports = [ | |
/etc/nixos/hardware-configuration.nix | |
({ | |
options = { | |
environment.systemPackages = lib.mkOption { | |
apply = lib.lists.remove pkgs.nixos-icons; | |
}; | |
}; |