From eb34ee33b389c135090fd6bdd4f5921bde03008c Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Tue, 20 Feb 2024 19:36:12 +0300 Subject: [PATCH] C: categorize files, update .gitignore --- c-programming/.gitignore | 72 +++++++++---------- .../clock-malfunction-imitation.c | 0 .../{ => experiments}/floatscan-experiment.c | 0 .../{ => experiments}/reverse-ramdisk.c | 0 c-programming/{ => io}/freadln.c | 0 c-programming/{ => io}/freadln.h | 0 c-programming/{ => io}/fwrite_le.c | 0 c-programming/{ => io}/fwrite_le.h | 0 c-programming/{ => io}/pure_getline.c | 0 c-programming/{ => io}/pure_getline.h | 0 c-programming/{ => strings}/asprintf.c | 0 c-programming/{ => strings}/asprintf.h | 0 12 files changed, 36 insertions(+), 36 deletions(-) rename c-programming/{ => experiments}/clock-malfunction-imitation.c (100%) rename c-programming/{ => experiments}/floatscan-experiment.c (100%) rename c-programming/{ => experiments}/reverse-ramdisk.c (100%) rename c-programming/{ => io}/freadln.c (100%) rename c-programming/{ => io}/freadln.h (100%) rename c-programming/{ => io}/fwrite_le.c (100%) rename c-programming/{ => io}/fwrite_le.h (100%) rename c-programming/{ => io}/pure_getline.c (100%) rename c-programming/{ => io}/pure_getline.h (100%) rename c-programming/{ => strings}/asprintf.c (100%) rename c-programming/{ => strings}/asprintf.h (100%) diff --git a/c-programming/.gitignore b/c-programming/.gitignore index 94e4aba..f3dbb58 100644 --- a/c-programming/.gitignore +++ b/c-programming/.gitignore @@ -1,55 +1,55 @@ # Prerequisites -*.d +**/*.d # Object files -*.o -*.ko -*.obj -*.elf +**/*.o +**/*.ko +**/*.obj +**/*.elf # Linker output -*.ilk -*.map -*.exp +**/*.ilk +**/*.map +**/*.exp # Precompiled Headers -*.gch -*.pch +**/*.gch +**/*.pch # Libraries -*.lib -*.a -*.la -*.lo +**/*.lib +**/*.a +**/*.la +**/*.lo # Shared objects (inc. Windows DLLs) -*.dll -*.so -*.so.* -*.dylib +**/*.dll +**/*.so +**/*.so.* +**/*.dylib # Executables -*.exe -*.out -*.app -*.i*86 -*.x86_64 -*.hex +**/*.exe +**/*.out +**/*.app +**/*.i*86 +**/*.x86_64 +**/*.hex # Debug files -*.dSYM/ -*.su -*.idb -*.pdb +**/*.dSYM/ +**/*.su +**/*.idb +**/*.pdb # Kernel Module Compile Results -*.mod* -*.cmd -.tmp_versions/ -modules.order -Module.symvers -Mkfile.old -dkms.conf +**/*.mod* +**/*.cmd +**/.tmp_versions/ +**/modules.order +**/Module.symvers +**/Mkfile.old +**/dkms.conf # Custom -*.tmp +**/*.tmp diff --git a/c-programming/clock-malfunction-imitation.c b/c-programming/experiments/clock-malfunction-imitation.c similarity index 100% rename from c-programming/clock-malfunction-imitation.c rename to c-programming/experiments/clock-malfunction-imitation.c diff --git a/c-programming/floatscan-experiment.c b/c-programming/experiments/floatscan-experiment.c similarity index 100% rename from c-programming/floatscan-experiment.c rename to c-programming/experiments/floatscan-experiment.c diff --git a/c-programming/reverse-ramdisk.c b/c-programming/experiments/reverse-ramdisk.c similarity index 100% rename from c-programming/reverse-ramdisk.c rename to c-programming/experiments/reverse-ramdisk.c diff --git a/c-programming/freadln.c b/c-programming/io/freadln.c similarity index 100% rename from c-programming/freadln.c rename to c-programming/io/freadln.c diff --git a/c-programming/freadln.h b/c-programming/io/freadln.h similarity index 100% rename from c-programming/freadln.h rename to c-programming/io/freadln.h diff --git a/c-programming/fwrite_le.c b/c-programming/io/fwrite_le.c similarity index 100% rename from c-programming/fwrite_le.c rename to c-programming/io/fwrite_le.c diff --git a/c-programming/fwrite_le.h b/c-programming/io/fwrite_le.h similarity index 100% rename from c-programming/fwrite_le.h rename to c-programming/io/fwrite_le.h diff --git a/c-programming/pure_getline.c b/c-programming/io/pure_getline.c similarity index 100% rename from c-programming/pure_getline.c rename to c-programming/io/pure_getline.c diff --git a/c-programming/pure_getline.h b/c-programming/io/pure_getline.h similarity index 100% rename from c-programming/pure_getline.h rename to c-programming/io/pure_getline.h diff --git a/c-programming/asprintf.c b/c-programming/strings/asprintf.c similarity index 100% rename from c-programming/asprintf.c rename to c-programming/strings/asprintf.c diff --git a/c-programming/asprintf.h b/c-programming/strings/asprintf.h similarity index 100% rename from c-programming/asprintf.h rename to c-programming/strings/asprintf.h