-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathminilib.c
951 lines (748 loc) · 18.7 KB
/
minilib.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
/* This file is part of minilib, (c) 2012-2020 Michael Misc Myer.
[email protected] / www.github.com/michael105
Please see the files LICENSE and NOTICE for the exact conditions.
The lines below are generated by 'make header'.
*/
#ifndef included_minilib_c
#define included_minilib_c
/* templates/minilib.c.in */
#ifndef included_minilib_h
//#include "minilib.h"
#endif
#include "minilib/asm/start.c"
#include "minilib/asm/jmp-x64.c"
#include "minilib/src/intern/minilib_global.c"
#ifdef mini_prints
#include "minilib/src/output/dprints.c"
#endif
#ifdef mini_errno
#ifndef mini_globals_on_stack
int errno;
#endif
int sysret;
#endif
#ifdef mini_getopt
#include "contrib/getopt/getopt.h"
#endif
#ifdef mini_getopt_long
#include "contrib/regetopt/getopt_long.c"
#endif
#include "src/intern/startup.c"
/* end templates/minilib.c.in */
/* templates/minilib.c.in */
#ifndef included_minilib_h
//#include "minilib.h"
#endif
#include "minilib/asm/start.c"
#include "minilib/asm/jmp-x64.c"
#include "minilib/src/intern/minilib_global.c"
#ifdef mini_prints
#include "minilib/src/output/dprints.c"
#endif
#ifdef mini_errno
#ifndef mini_globals_on_stack
int errno;
#endif
int sysret;
#endif
#ifdef mini_getopt
#include "contrib/getopt/getopt.h"
#endif
#ifdef mini_getopt_long
#include "contrib/regetopt/getopt_long.c"
#endif
#include "src/intern/startup.c"
/* end templates/minilib.c.in */
// minilib/src/string/strcmp.c
#ifdef include_minilib_src_string_strcmp_c
#include "minilib/src/string/strcmp.c"
#endif
// minilib/src/string/strcasecmp.c
#ifdef include_minilib_src_string_strcasecmp_c
#include "minilib/src/string/strcasecmp.c"
#endif
// minilib/src/memory/malloc.c
#ifdef include_minilib_src_memory_malloc_c
#include "minilib/src/memory/malloc.c"
#endif
// minilib/src/termios/isatty.c
#ifdef include_minilib_src_termios_isatty_c
#include "minilib/src/termios/isatty.c"
#endif
// minilib/src/streams/fopen.c
#ifdef include_minilib_src_streams_fopen_c
#include "minilib/src/streams/fopen.c"
#endif
// minilib/src/process/sigaction.c
#ifdef include_minilib_src_process_sigaction_c
#include "minilib/src/process/sigaction.c"
#endif
// minilib/src/process/wait.c
#ifdef include_minilib_src_process_wait_c
#include "minilib/src/process/wait.c"
#endif
// minilib/src/file/open.c
#ifdef include_minilib_src_file_open_c
#include "minilib/src/file/open.c"
#endif
// minilib/src/output/sprintf.c
#ifdef include_minilib_src_output_sprintf_c
#include "minilib/src/output/sprintf.c"
#endif
// minilib/src/process/sleep.c
#ifdef include_minilib_src_process_sleep_c
#include "minilib/src/process/sleep.c"
#endif
// minilib/src/userdb/userdb.c
#ifdef include_minilib_src_userdb_userdb_c
#include "minilib/src/userdb/userdb.c"
#endif
// minilib/src/conversions/itohex.c
#ifdef include_minilib_src_conversions_itohex_c
#include "minilib/src/conversions/itohex.c"
#endif
// minilib/src/memory/memset.c
#ifdef mini_memset
#include "minilib/src/memory/memset.c"
#endif
// minilib/src/streams/fgetsn.c
#ifdef mini_fgetsn
#include "minilib/src/streams/fgetsn.c"
#endif
// minilib/src/termios/pty.c
#ifdef mini_ptsname_r
#include "minilib/src/termios/pty.c"
#endif
// minilib/src/termios/tcsetattr.c
#ifdef mini_tcsetattr
#include "minilib/src/termios/tcsetattr.c"
#endif
// minilib/src/termios/pty.c
#ifdef mini_posix_openpt
#include "minilib/src/termios/pty.c"
#endif
// minilib/src/network/ether_ntoa.c
#ifdef mini_ether_ntoa
#include "minilib/src/network/ether_ntoa.c"
#endif
// minilib/src/directories/opendir.c
#ifdef mini_opendir
#include "minilib/src/directories/opendir.c"
#endif
// minilib/src/system/putenv.c
#ifdef mini_putenv
#include "minilib/src/system/putenv.c"
#endif
// minilib/src/exec/execvp.c
#ifdef mini_execvpe
#include "minilib/src/exec/execvp.c"
#endif
// minilib/src/network/recv.c
#ifdef mini_recv
#include "minilib/src/network/recv.c"
#endif
// minilib/src/memory/sys_brk.c
#ifdef mini_sys_brk
#include "minilib/src/memory/sys_brk.c"
#endif
// minilib/src/match/match_ext.c
#ifdef mini_match_ext
#include "minilib/src/match/match_ext.c"
#endif
// minilib/src/process/abort.c
#ifdef mini_abort
#include "minilib/src/process/abort.c"
#endif
// minilib/src/memory/memcpy.c
#ifdef mini_memcpy
#include "minilib/src/memory/memcpy.c"
#endif
// minilib/src/math/srand.c
#ifdef mini_srand
#include "minilib/src/math/srand.c"
#endif
// minilib/src/exec/vexec_q.c
#ifdef mini_vexec_q
#include "minilib/src/exec/vexec_q.c"
#endif
// minilib/src/conversions/ultodec.c
#ifdef mini_ultodec
#include "minilib/src/conversions/ultodec.c"
#endif
// minilib/src/userdb/getgrent.c
#ifdef mini_getgrent
#include "minilib/src/userdb/getgrent.c"
#endif
// minilib/src/string/strcpy.c
#ifdef mini_strcpy
#include "minilib/src/string/strcpy.c"
#endif
// minilib/src/memory/brk.c
#ifdef mini_brk
#include "minilib/src/memory/brk.c"
#endif
// minilib/src/userdb/getpwuid.c
#ifdef mini_getpwuid
#include "minilib/src/userdb/getpwuid.c"
#endif
// minilib/src/process/die.c
#ifdef mini_dies
#include "minilib/src/process/die.c"
#endif
// minilib/src/memory/memcmp.c
#ifdef mini_memcmp
#include "minilib/src/memory/memcmp.c"
#endif
// minilib/src/string/strchrnul.c
#ifdef mini_strchrnul
#include "minilib/src/string/strchrnul.c"
#endif
// minilib/src/output/vsnprintf.c
#ifdef mini_vsnprintf
#include "minilib/src/output/vsnprintf.c"
#endif
// minilib/src/output/vsprintf.c
#ifdef mini_vsprintf
#include "minilib/src/output/vsprintf.c"
#endif
// minilib/src/userdb/getpwnam.c
#ifdef mini_getpwnam
#include "minilib/src/userdb/getpwnam.c"
#endif
// minilib/src/conversions/itodec.c
#ifdef mini_itodec
#include "minilib/src/conversions/itodec.c"
#endif
// minilib/src/directories/opendirp.c
#ifdef mini_opendirp
#include "minilib/src/directories/opendirp.c"
#endif
// minilib/src/string/strtoimax.c
#ifdef mini_strtoimax
#include "minilib/src/string/strtoimax.c"
#endif
// minilib/src/network/htons.c
#ifdef mini_htons
#include "minilib/src/network/htons.c"
#endif
// minilib/src/conversions/dtodec.c
#ifdef mini_dtodec
#include "minilib/src/conversions/dtodec.c"
#endif
// minilib/src/streams/fdopen.c
#ifdef mini_fdopen
#include "minilib/src/streams/fdopen.c"
#endif
// minilib/src/string/strdup.c
#ifdef mini_strdup
#include "minilib/src/string/strdup.c"
#endif
// minilib/src/memory/getbrk.c
#ifdef mini_getbrk
#include "minilib/src/memory/getbrk.c"
#endif
// minilib/src/memory/malloc_brk.c
#ifdef mini_malloc_brk
#include "minilib/src/memory/malloc_brk.c"
#endif
// minilib/src/directories/dirname.c
#ifdef mini_dirname
#include "minilib/src/directories/dirname.c"
#endif
// minilib/src/string/stpncpy.c
#ifdef mini_stpncpy
#include "minilib/src/string/stpncpy.c"
#endif
// minilib/src/streams/gets.c
#ifdef mini_gets
#include "minilib/src/streams/gets.c"
#endif
// minilib/src/network/inet_aton.c
#ifdef mini_inet_aton
#include "minilib/src/network/inet_aton.c"
#endif
// minilib/src/userdb/userdb_open.c
#ifdef mini_userdb_open
#include "minilib/src/userdb/userdb_open.c"
#endif
// minilib/src/process/atexit.c
#ifdef mini_atexit
#include "minilib/src/process/atexit.c"
#endif
// minilib/src/streams/fgetc.c
#ifdef mini_fgetc
#include "minilib/src/streams/fgetc.c"
#endif
// minilib/src/math/hashes.c
#ifdef mini_djb2_hash
#include "minilib/src/math/hashes.c"
#endif
// minilib/src/termios/tcsetpgrp.c
#ifdef mini_tcsetpgrp
#include "minilib/src/termios/tcsetpgrp.c"
#endif
// minilib/src/string/strncat.c
#ifdef mini_strncat
#include "minilib/src/string/strncat.c"
#endif
// minilib/src/file/cksum.c
#ifdef mini_djb_cksum
#include "minilib/src/file/cksum.c"
#endif
// minilib/src/match/match_ext2.c
#ifdef mini_match_ext2
#include "minilib/src/match/match_ext2.c"
#endif
// minilib/src/userdb/getgrnam.c
#ifdef mini_getgrnam
#include "minilib/src/userdb/getgrnam.c"
#endif
// minilib/src/conversions/itodec.c
#ifdef mini_uitodec
#include "minilib/src/conversions/itodec.c"
#endif
// minilib/src/memory/map_protected.c
#ifdef mini_map_protected
#include "minilib/src/memory/map_protected.c"
#endif
// minilib/src/string/strtok.c
#ifdef mini_strtok
#include "minilib/src/string/strtok.c"
#endif
// minilib/src/string/stplcpy.c
#ifdef mini_stplcpy
#include "minilib/src/string/stplcpy.c"
#endif
// minilib/src/match/match.c
#ifdef mini__match
#include "minilib/src/match/match.c"
#endif
// minilib/src/streams/_fopen.c
#ifdef mini__fopen
#include "minilib/src/streams/_fopen.c"
#endif
// minilib/src/system/setenv.c
#ifdef mini_setenv
#include "minilib/src/system/setenv.c"
#endif
// minilib/src/file/creat.c
#ifdef mini_creat
#include "minilib/src/file/creat.c"
#endif
// minilib/src/string/strchr.c
#ifdef mini_strchr
#include "minilib/src/string/strchr.c"
#endif
// minilib/src/string/strspn.c
#ifdef mini_strspn
#include "minilib/src/string/strspn.c"
#endif
// minilib/src/system/unsetenv.c
#ifdef mini_unsetenv
#include "minilib/src/system/unsetenv.c"
#endif
// minilib/src/string/strstr.c
#ifdef mini_strstr
#include "minilib/src/string/strstr.c"
#endif
// minilib/src/exec/vexec.c
#ifdef mini_vexec
#include "minilib/src/exec/vexec.c"
#endif
// minilib/src/network/gethostname.c
#ifdef mini_gethostname
#include "minilib/src/network/gethostname.c"
#endif
// minilib/src/directories/rewinddir.c
#ifdef mini_rewinddir
#include "minilib/src/directories/rewinddir.c"
#endif
// minilib/src/userdb/getgrouplist.c
#ifdef mini_getgrouplist
#include "minilib/src/userdb/getgrouplist.c"
#endif
// minilib/src/directories/scandir_bufsize.c
#ifdef mini_scandir_bufsize
#include "minilib/src/directories/scandir_bufsize.c"
#endif
// minilib/src/process/die.c
#ifdef mini_dief_if
#include "minilib/src/process/die.c"
#endif
// minilib/src/memory/memchr.c
#ifdef mini_memchr
#include "minilib/src/memory/memchr.c"
#endif
// minilib/src/conversions/ltodec.c
#ifdef mini_ltodec
#include "minilib/src/conversions/ltodec.c"
#endif
// minilib/src/network/inet_ntoa.c
#ifdef mini_inet_ntoa
#include "minilib/src/network/inet_ntoa.c"
#endif
// minilib/src/memory/mmap.c
#ifdef mini_mmap
#include "minilib/src/memory/mmap.c"
#endif
// minilib/src/sort/swap.c
#ifdef mini_swap
#include "minilib/src/sort/swap.c"
#endif
// minilib/src/string/strerror.c
#ifdef mini_strerror
#include "minilib/src/string/strerror.c"
#endif
// minilib/src/string/strnlen.c
#ifdef mini_strnlen
#include "minilib/src/string/strnlen.c"
#endif
// minilib/src/sort/bsearch.c
#ifdef mini_bsearch
#include "minilib/src/sort/bsearch.c"
#endif
// minilib/src/memory/freebrk.c
#ifdef mini_free_brk
#include "minilib/src/memory/freebrk.c"
#endif
// minilib/src/output/fprintf.c
#ifdef mini_fprintf
#include "minilib/src/output/fprintf.c"
#endif
// minilib/src/userdb/getpwent.c
#ifdef mini_getpwent
#include "minilib/src/userdb/getpwent.c"
#endif
// minilib/src/termios/pty.c
#ifdef mini_unlockpt
#include "minilib/src/termios/pty.c"
#endif
// minilib/src/streams/freopen.c
#ifdef mini_freopen
#include "minilib/src/streams/freopen.c"
#endif
// minilib/src/match/match.c
#ifdef mini_match
#include "minilib/src/match/match.c"
#endif
// minilib/src/output/dprints.c
#ifdef mini_dprints
#include "minilib/src/output/dprints.c"
#endif
// minilib/src/conversions/itobin.c
#ifdef mini_itobin
#include "minilib/src/conversions/itobin.c"
#endif
// minilib/src/string/strlen.c
#ifdef mini_strlen
#include "minilib/src/string/strlen.c"
#endif
// minilib/src/string/strndup.c
#ifdef mini_strndup
#include "minilib/src/string/strndup.c"
#endif
// minilib/src/memory/setbrk.c
#ifdef mini_setbrk
#include "minilib/src/memory/setbrk.c"
#endif
// minilib/src/exec/_execv.c
#ifdef mini_execv
#include "minilib/src/exec/_execv.c"
#endif
// minilib/src/file/cksum.c
#ifdef mini_bsd_cksum
#include "minilib/src/file/cksum.c"
#endif
// minilib/src/directories/alphasort.c
#ifdef mini_alphasort
#include "minilib/src/directories/alphasort.c"
#endif
// minilib/src/termios/tcgetpgrp.c
#ifdef mini_tcgetpgrp
#include "minilib/src/termios/tcgetpgrp.c"
#endif
// minilib/src/directories/seekdir.c
#ifdef mini_seekdir
#include "minilib/src/directories/seekdir.c"
#endif
// minilib/src/string/strtoll.c
#ifdef mini_strtoll
#include "minilib/src/string/strtoll.c"
#endif
// minilib/src/termios/cfmakeraw.c
#ifdef mini_cfmakeraw
#include "minilib/src/termios/cfmakeraw.c"
#endif
// minilib/src/conversions/atol.c
#ifdef mini_atol
#include "minilib/src/conversions/atol.c"
#endif
// minilib/src/exec/where.c
#ifdef mini_where
#include "minilib/src/exec/where.c"
#endif
// minilib/src/output/fprintfs.c
#ifdef mini_fprintfs
#include "minilib/src/output/fprintfs.c"
#endif
// minilib/src/system/ioctl.c
#ifdef mini_ioctl
#include "minilib/src/system/ioctl.c"
#endif
// minilib/src/process/die.c
#ifdef mini_dief
#include "minilib/src/process/die.c"
#endif
// minilib/src/memory/sbrk.c
#ifdef mini_sbrk
#include "minilib/src/memory/sbrk.c"
#endif
// minilib/src/process/errno_str.c
#ifdef mini_errno_str
#include "minilib/src/process/errno_str.c"
#endif
// minilib/src/process/clone.c
#ifdef mini_clone_t
#include "minilib/src/process/clone.c"
#endif
// minilib/src/userdb/getgroups.c
#ifdef mini_getgroups
#include "minilib/src/userdb/getgroups.c"
#endif
// minilib/src/userdb/getgrgid.c
#ifdef mini_getgrgid
#include "minilib/src/userdb/getgrgid.c"
#endif
// minilib/src/process/signal.c
#ifdef mini_signal
#include "minilib/src/process/signal.c"
#endif
// minilib/src/exec/_execvp.c
#ifdef mini_execvp
#include "minilib/src/exec/_execvp.c"
#endif
// minilib/src/conversions/itobin.c
#ifdef mini__itobin
#include "minilib/src/conversions/itobin.c"
#endif
// minilib/src/streams/ungetc.c
#ifdef mini_ungetc
#include "minilib/src/streams/ungetc.c"
#endif
// minilib/src/userdb/setgrent.c
#ifdef mini_setgrent
#include "minilib/src/userdb/setgrent.c"
#endif
// minilib/src/memory/unmap_protected.c
#ifdef mini_unmap_protected
#include "minilib/src/memory/unmap_protected.c"
#endif
// minilib/src/directories/telldir.c
#ifdef mini_telldir
#include "minilib/src/directories/telldir.c"
#endif
// minilib/src/output/snprintfs.c
#ifdef mini_snprintfs
#include "minilib/src/output/snprintfs.c"
#endif
// minilib/src/process/killpg.c
#ifdef mini_killpg
#include "minilib/src/process/killpg.c"
#endif
// minilib/src/process/die.c
#ifdef mini_die
#include "minilib/src/process/die.c"
#endif
// minilib/src/exec/execl.c
#ifdef mini_execl
#include "minilib/src/exec/execl.c"
#endif
// minilib/src/process/die.c
#ifdef mini_die_if
#include "minilib/src/process/die.c"
#endif
// minilib/src/network/htonl.c
#ifdef mini_htonl
#include "minilib/src/network/htonl.c"
#endif
// minilib/src/string/strlcpy.c
#ifdef mini_strlcpy
#include "minilib/src/string/strlcpy.c"
#endif
// minilib/src/userdb/endgrent.c
#ifdef mini_endgrent
#include "minilib/src/userdb/endgrent.c"
#endif
// minilib/src/math/sdbm_hash.c
#ifdef mini_sdbm_hash
#include "minilib/src/math/sdbm_hash.c"
#endif
// minilib/src/streams/fgetul.c
#ifdef mini_fgetul
#include "minilib/src/streams/fgetul.c"
#endif
// minilib/src/directories/closedir.c
#ifdef mini_closedir
#include "minilib/src/directories/closedir.c"
#endif
// minilib/src/termios/tcgetattr.c
#ifdef mini_tcgetattr
#include "minilib/src/termios/tcgetattr.c"
#endif
// minilib/src/streams/fgetud.c
#ifdef mini_fgetud
#include "minilib/src/streams/fgetud.c"
#endif
// minilib/src/output/dprintf.c
#ifdef mini_dprintf
#include "minilib/src/output/dprintf.c"
#endif
// minilib/src/directories/readdir.c
#ifdef mini_readdir
#include "minilib/src/directories/readdir.c"
#endif
// minilib/src/string/strtol.c
#ifdef mini_strtol
#include "minilib/src/string/strtol.c"
#endif
// minilib/src/userdb/getusergroups.c
#ifdef mini_getusergroups
#include "minilib/src/userdb/getusergroups.c"
#endif
// minilib/src/termios/pty.c
#ifdef mini_ptsname
#include "minilib/src/termios/pty.c"
#endif
// minilib/src/conversions/atoi.c
#ifdef mini_atoi
#include "minilib/src/conversions/atoi.c"
#endif
// minilib/src/userdb/setpwent.c
#ifdef mini_setpwent
#include "minilib/src/userdb/setpwent.c"
#endif
// minilib/src/userdb/initgroups.c
#ifdef mini_initgroups
#include "minilib/src/userdb/initgroups.c"
#endif
// minilib/src/process/die.c
#ifdef mini_dies_if
#include "minilib/src/process/die.c"
#endif
// minilib/src/memory/calloc.c
#ifdef mini_calloc
#include "minilib/src/memory/calloc.c"
#endif
// minilib/src/math/rand.c
#ifdef mini_rand
#include "minilib/src/math/rand.c"
#endif
// minilib/src/exec/system.c
#ifdef mini_system
#include "minilib/src/exec/system.c"
#endif
// minilib/src/sort/qsort.c
#ifdef mini_qsort
#include "minilib/src/sort/qsort.c"
#endif
// minilib/src/memory/memfrob.c
#ifdef mini_memfrob
#include "minilib/src/memory/memfrob.c"
#endif
// minilib/src/streams/fgets.c
#ifdef mini_fgets
#include "minilib/src/streams/fgets.c"
#endif
// minilib/src/termios/pty.c
#ifdef mini_grantpt
#include "minilib/src/termios/pty.c"
#endif
// minilib/src/process/exit_errno.c
#ifdef mini_exit_errno
#include "minilib/src/process/exit_errno.c"
#endif
// minilib/src/memory/memmove.c
#ifdef mini_memmove
#include "minilib/src/memory/memmove.c"
#endif
// minilib/src/directories/basename.c
#ifdef mini_basename
#include "minilib/src/directories/basename.c"
#endif
// minilib/src/directories/dirfd.c
#ifdef mini_dirfd
#include "minilib/src/directories/dirfd.c"
#endif
// minilib/src/userdb/endpwent.c
#ifdef mini_endpwent
#include "minilib/src/userdb/endpwent.c"
#endif
// minilib/src/string/strncpy.c
#ifdef mini_strncpy
#include "minilib/src/string/strncpy.c"
#endif
// minilib/src/directories/scandir.c
#ifdef mini_scandir
#include "minilib/src/directories/scandir.c"
#endif
// minilib/src/process/die.c
#ifdef mini__die
#include "minilib/src/process/die.c"
#endif
// minilib/src/string/strcat.c
#ifdef mini_strcat
#include "minilib/src/string/strcat.c"
#endif
// minilib/src/termios/term_width.c
#ifdef mini_term_width
#include "minilib/src/termios/term_width.c"
#endif
// minilib/src/output/perror.c
#ifdef mini_perror
#include "minilib/src/output/perror.c"
#endif
// minilib/src/file/cksum.c
#ifdef mini_bsd_cksumblock
#include "minilib/src/file/cksum.c"
#endif
// minilib/src/system/getenv.c
#ifdef mini_getenv
#include "minilib/src/system/getenv.c"
#endif
// minilib/src/string/strcspn.c
#ifdef mini_strcspn
#include "minilib/src/string/strcspn.c"
#endif
// minilib/src/string/strpbrk.c
#ifdef mini_strpbrk
#include "minilib/src/string/strpbrk.c"
#endif
// minilib/src/match/match_ext2.c
#ifdef mini__match_ext2
#include "minilib/src/match/match_ext2.c"
#endif
// minilib/src/output/snprintf.c
#ifdef mini_snprintf
#include "minilib/src/output/snprintf.c"
#endif
// minilib/src/string/stpcpy.c
#ifdef mini_stpcpy
#include "minilib/src/string/stpcpy.c"
#endif
// minilib/src/string/strrchr.c
#ifdef mini_strrchr
#include "minilib/src/string/strrchr.c"
#endif
// minilib/src/string/strtok_r.c
#ifdef mini_strtok_r
#include "minilib/src/string/strtok_r.c"
#endif
// minilib/src/streams/fgetsp.c
#ifdef mini_fgetsp
#include "minilib/src/streams/fgetsp.c"
#endif
// minilib/src/conversions/itooct.c
#ifdef mini_itooct
#include "minilib/src/conversions/itooct.c"
#endif
#endif