1
0
mirror of https://gitlab.com/80486DX2-66/gists synced 2024-12-27 14:50:23 +05:30
Commit Graph

42 Commits

Author SHA1 Message Date
4f37c8a9fe
C: freadln.c: simplify to #ifdef 2024-06-25 11:31:27 +03:00
b9ba12c28e
C: io: add .gitignore 2024-06-25 11:29:40 +03:00
d1750c19ca
C: fwrite_le.*: update to revision 3acee16 2024-06-25 11:10:59 +03:00
371f8819de
relicense: CC0 -> Unlicense 2024-04-25 23:16:39 +03:00
f47eeaa6a1
freadln.c: test: remove file after the test 2024-04-07 23:52:01 +03:00
8a3e4ba31f
freadln.c: test: print input string length 2024-04-07 23:51:18 +03:00
9296a74fb9
freadln.c: check if test file exists 2024-04-07 19:48:09 +03:00
889f39ac29
fixup: freadln.c: test: use return instead of exit 2024-04-07 18:59:08 +03:00
2c6d56faa5
freadln.c: test: use return instead of exit 2024-04-07 18:56:49 +03:00
425aae56ec
freadln.c: test: add and use macro YN for printing booleans 2024-04-07 18:52:01 +03:00
da96289764
freadln.c: test: compensate lack of %zu fmt. specifier 2024-04-07 18:49:11 +03:00
cf291335b7
freadln.c: test: add extra parentheses for x in a macro 2024-04-07 17:50:39 +03:00
1925a88e7a
freadln.c: test: add extra parentheses into #if condition
Test: Add extra parentheses around the conjunction among disjunctions:
      X || (Y && Z)
2024-04-07 17:42:00 +03:00
60e8d00b5b
freadln.c: test: support POSIX sleep 2024-04-07 17:38:40 +03:00
8f8ee0eb53
freadln.c: fix and improve SLEEP_FN definitions 2024-04-07 17:34:24 +03:00
ede74a1195
freadln.c: move legal information to the end of the note 2024-04-07 11:40:29 +03:00
00d03e39fc
freadln.*: ignore end of transmission 2024-04-05 21:40:19 +03:00
858898aaa3
freadln.c: notice: remove obsolete information 2024-04-05 21:07:09 +03:00
43df0e137b
pure_getline.c: do not continue if output is NULL 2024-04-02 20:41:14 +03:00
4ce2d32a8a
freadln.c: fix the STDIN input testing code 2024-03-13 08:22:33 +03:00
d422049dc3
freadln.c: add missing #define 2024-03-13 08:19:40 +03:00
282670f23f
fwrite_le.c: reformat 2024-03-10 16:20:25 +03:00
d1a6bb91fa
freadln.c: reformat 2024-03-10 15:46:24 +03:00
06c5330a67
freadln.*: add testing against unexpected STDOUT flushing 2024-03-10 15:40:51 +03:00
53d0b8908d
freadln.*: handle EOF in a special way to indicate EOF 2024-03-10 15:38:14 +03:00
3638c9eb7c
freadln.*: fix error handling logic 2024-03-10 15:25:59 +03:00
18af3053f3
freadln.c: set errno to EINVAL if *output is NULL 2024-03-10 15:06:20 +03:00
ec06d2165b
freadln.c: flush stdout only if file is stdin 2024-03-10 14:50:42 +03:00
d7be00df1f
freadln.c: improve the test, make last TODO optional 2024-03-10 14:47:41 +03:00
1a69cfa4ad
freadln.c: add a comment to indicate initial length 2024-03-10 14:40:02 +03:00
e8d66db238
freadln.*: implement reading lines from arbitrary file 2024-03-10 14:39:10 +03:00
7d223427b6
freadln.h: use intuitive enum values 2024-03-10 14:19:29 +03:00
9a2979efe5
freadln.c: add a test 2024-03-10 14:14:38 +03:00
9d47a1d50b
freadln.c: improve function I/O logic 2024-03-10 14:14:02 +03:00
8025dbfb61
freadln.c: add missing semicolons 2024-03-10 14:12:51 +03:00
139afe969b
freadln.c: add flushing of STDOUT 2024-03-10 14:12:05 +03:00
692eb05bf5
freadln.c: add new TODOs 2024-03-10 14:08:28 +03:00
c09c9481c9
freadln.h: fix prototype mismatch 2024-03-10 13:55:21 +03:00
2ac97f81a7
freadln.c: change to-do style 2024-03-10 11:50:09 +03:00
4d797a9854
C: pure_getline.h: move include statements 2024-02-22 19:20:26 +03:00
c1916f928c
C: freadln.h: fix syntax; reformat 2024-02-22 19:09:37 +03:00
eb34ee33b3
C: categorize files, update .gitignore 2024-02-20 19:36:12 +03:00