Darryl L. Miles
2b62123459
SimRsim.c: removal of pre-POSIX.1-2001 select() interface ifdefs
...
POSIX.1-2001 introduced fd_set for use with select() and all current
systems support POSIX.
2025-10-04 20:50:31 -04:00
Darryl L. Miles
2259ef626d
SimRsim.c: EMSCRIPTEN fix for select/fd_set
...
The compiler has started to error on casting int* to fd_set*
Since WASM build has presense of fd_set then the ifdef have been
switched away from the legacy (pre 2000) method.
2025-10-04 20:50:31 -04:00
Darryl L. Miles
cface55c5b
sim: various cleanups (non existent funcs)
2025-04-09 15:23:21 -04:00
Darryl L. Miles
67f7db9540
sim: remove declaration for getenv()
2025-04-09 15:23:21 -04:00
Darryl L. Miles
b5ac7e4f92
sim: use pid_t where appropiate
2025-04-09 15:23:21 -04:00
Darryl L. Miles
6ec826fb8b
sim: constify various APIs
2025-04-09 15:23:21 -04:00
Darryl L. Miles
1fbba4408f
K&R sim/*.c: bulk function implementation conversion
...
K&R obsolete syntax removal for C23 compatibility series
2025-04-09 15:23:21 -04:00
Darryl L. Miles
be09d8d402
SimRsim.c: update with const API change to utils module
2025-04-09 15:23:21 -04:00
Darryl L. Miles
120cea3921
SimRsim.c: remove declaration SimGetReplyLine() as it is in sim.h
2025-04-09 15:23:21 -04:00
Darryl L. Miles
6d2d4353d3
select() API usages add ASSERT() to validate fd number is in-range
...
This encapsulates the expectation the 'fd' is in the permitted range for
the standard sizes 'fd_set'.
This is so there is some form of detection with issues in this area, if
the RLIMIT_NOFILE limit is increased.
2025-04-09 15:19:25 -04:00
Darryl L. Miles
bf916d2647
SimRsim.c: directive writing 1 byte into a region of size between 0 and 255
...
GCC14 loud default warnings series [-Wformat-overflow=]
2024-10-09 20:39:12 -04:00
Johan Euphrosine
96eb275622
quick and dirty emscripten port
2023-07-12 00:31:37 +09:00
Alessandro De Laurenzis
68cecd5382
C99 code compat when configured with no TCL support
2022-10-29 06:07:46 +02:00
Tim Edwards
2af38a4191
Updates from running the fix-ending-whitespace script.
2020-05-23 17:13:14 -04:00
Tim Edwards
231a299b16
Initial commit at Tue Apr 25 08:41:48 EDT 2017 by tim on stravinsky
2017-04-25 08:41:48 -04:00