scrcpy/app/src/util
Romain Vimont 131372d2c4 Expose sc_get_env() to read environment variable
Contrary to getenv(), sc_get_env() returns an allocated string that is
guaranteed to be encoded in UTF-8 on all platforms (it uses _wgetenv()
internally on Windows and converts the strings).

PR #5560 <https://github.com/Genymobile/scrcpy/pull/5560>
2024-12-02 18:23:18 +01:00
..
acksync.c Add acksync helper to wait for acks 2021-11-23 21:15:05 +01:00
acksync.h Wait SET_CLIPBOARD ack before Ctrl+v via HID 2021-11-24 09:41:21 +01:00
audiobuf.c Avoid zero-length copies 2024-05-30 15:56:37 +02:00
audiobuf.h Replace locks by atomics in audio player 2024-02-17 16:01:33 +01:00
average.c Add audio player 2023-03-10 22:22:15 +01:00
average.h Add audio player 2023-03-10 22:22:15 +01:00
binary.h Add util functions to write in little-endian 2024-09-15 11:21:56 +02:00
env.c Expose sc_get_env() to read environment variable 2024-12-02 18:23:18 +01:00
env.h Expose sc_get_env() to read environment variable 2024-12-02 18:23:18 +01:00
file.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
file.h Improve file API 2021-11-12 22:44:37 +01:00
intmap.c Use static maps to convert input events 2021-11-29 21:15:07 +01:00
intmap.h Use static maps to convert input events 2021-11-29 21:15:07 +01:00
intr.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
intr.h Rename SC_INVALID_SOCKET to SC_SOCKET_NONE 2021-11-14 01:22:22 +01:00
log.c Use void for empty function parameter list 2023-10-23 15:07:24 +02:00
log.h Use void for empty function parameter list 2023-10-23 15:07:24 +02:00
memory.c Add sc_allocarray() util 2023-03-10 22:22:15 +01:00
memory.h Add sc_allocarray() util 2023-03-10 22:22:15 +01:00
net.c Split network macro conditions 2024-11-28 21:02:31 +01:00
net.h Enable close-on-interrupt for macOS 2024-11-28 21:02:51 +01:00
net_intr.c Rename net_listen() parameter 2022-08-17 16:40:45 +02:00
net_intr.h Rename net_listen() parameter 2022-08-17 16:40:45 +02:00
process.c Rename scrcpy threads 2021-12-09 21:32:11 +01:00
process.h Move SC_PRIsizet to compat.h 2022-02-09 09:53:19 +01:00
process_intr.c Make intr optional for adb commands 2022-02-20 17:39:36 +01:00
process_intr.h Check process success locally for adb commands 2021-11-25 22:22:34 +01:00
rand.c Add random util 2023-01-27 19:26:19 +01:00
rand.h Add random util 2023-01-27 19:26:19 +01:00
str.c Use explicit file protocol for AVIO 2024-11-18 18:48:26 +01:00
str.h Use explicit file protocol for AVIO 2024-11-18 18:48:26 +01:00
strbuf.c Add OutOfMemory log helper 2021-11-24 22:06:49 +01:00
strbuf.h Add string buffer util 2021-11-11 14:55:52 +01:00
term.c Add util function to get terminal size 2021-11-11 15:22:39 +01:00
term.h Add util function to get terminal size 2021-11-11 15:22:39 +01:00
thread.c Expose main thread id 2024-09-14 21:24:15 +02:00
thread.h Expose main thread id 2024-09-14 21:24:15 +02:00
tick.c Use timers with microsecond precision 2021-12-08 23:45:45 +01:00
tick.h Cast to sc_tick type in conversion macros 2024-10-08 18:18:05 +02:00
timeout.c Fix time-limit early interruption 2024-10-08 18:12:55 +02:00
timeout.h Add --time-limit 2023-06-10 16:04:51 +02:00
vecdeque.h Use char * for pointer arithmetic 2023-10-24 23:12:36 +02:00
vector.h Use reallocarray() in sc_vector 2023-03-10 22:22:15 +01:00