├── .gitignore ├── LICENSE ├── README.md ├── advance └── omp │ ├── makefile │ ├── omp-helloworld.c │ └── omp-loop-example.c ├── algorithm └── sorting │ └── qsort.c ├── auto └── auto_execute.c ├── base ├── binary │ ├── count_bit.c │ └── dec2bin.c ├── container_of │ └── container_of_example.c ├── storage │ ├── Makefile │ └── static_variables.c └── type │ ├── Makefile │ ├── typelimits.c │ └── typesize.c ├── checksum ├── crc16.c └── lrc.c ├── cpp ├── CMakeLists.txt ├── main.cpp └── mix_c_cpp │ ├── cfunc.c │ ├── cheader.h │ ├── main.cpp │ └── makefile ├── datatype ├── alignment │ └── format_struct.c ├── array │ ├── access_array.c │ ├── dynamic_array.c │ ├── fake_2d_array.c │ └── makefile └── print_size.c ├── dbus └── 01-client-server │ ├── Makefile │ ├── dbus-client.c │ └── dbus-server.c ├── debug ├── debug_print.c ├── gdb-multi-thread │ ├── main.c │ └── makefile └── makefile ├── driver ├── pps-gpio-poll │ ├── Makefile │ ├── README.md │ └── pps-gpio-poll.c └── serial │ ├── hello_serial.c │ └── simple_serial.c ├── error ├── hello_errno.c ├── list_errno.c ├── makefile └── perror_example.c ├── gtk ├── gtk-test.c ├── hello-world-gtk.c └── makefile ├── hello ├── .gitignore ├── CMakeLists.txt ├── Makefile ├── README.md ├── cmake │ ├── arm_linux_setup.cmake │ └── toolchain.linux-aarch64-buildroot.cmake ├── environment-setup-buildroot ├── hello.c ├── shared │ ├── foo.c │ ├── hello.c │ └── libfoo.so └── static │ ├── foo.c │ ├── hello.c │ └── libfoo.a ├── library ├── libevent │ └── hello.c └── libmodbus │ ├── Makefile │ ├── modbus-rtu-master.c │ └── modbus-rtu-slave.c ├── list ├── Makefile ├── kernel_list.h ├── list.h ├── listdemo.c ├── listdemo.h └── types.h ├── log ├── README.md ├── log.c │ ├── LICENSE │ ├── README.md │ ├── log.c │ ├── log.h │ ├── main.c │ └── makefile ├── syslog │ └── syslog_example.c └── zlog │ ├── CMakeLists.txt │ ├── README.md │ ├── dzlog_example.c │ ├── zlog.conf │ └── zlog_example.c ├── make ├── add_demo │ ├── CMakeLists.txt │ ├── Makefile │ ├── add.cpp │ ├── add.h │ └── main.cpp └── gcc_std │ ├── Makefile │ └── main.c ├── message-bus └── zeromq │ └── libzmq │ ├── helloworld_client.c │ ├── helloworld_server.c │ └── makefile ├── mixing └── cpp │ ├── class │ ├── example.cpp │ ├── example.h │ ├── example_wrapper.cpp │ ├── example_wrapper.h │ ├── main.c │ └── makefile │ └── simple │ ├── example.cpp │ ├── example.h │ ├── main.c │ └── makefile ├── network ├── curl │ ├── Makefile │ └── http_download_example.c ├── detect_netdev.c ├── epoll-server-example.c ├── get_dns.c ├── get_gateway.c ├── get_netdev_name.c ├── mqtt │ ├── MQTTClient │ │ ├── MQTTClient_publish.c │ │ ├── MQTTClient_subscribe.c │ │ └── Makefile │ └── README.md └── up_and_down_ethernet.c ├── operator └── bit_operator.c ├── peripherals ├── gpio │ ├── gpio_example.c │ ├── libgpiod-event.c │ ├── libgpiod-input.c │ ├── libgpiod-led.c │ └── makefile ├── gps │ ├── README.md │ ├── makefile │ └── read_gps_data.c └── serial │ ├── makefile │ └── rs485_example.c ├── projects ├── dice │ ├── Makefile │ ├── README.md │ └── dice.c └── perpetual_calendar │ ├── Makefile │ ├── README.md │ └── calendar.c ├── service └── systemd-example │ ├── example.service │ └── example.sh ├── socket ├── raw_socket │ ├── makefile │ ├── ping_example.c │ ├── raw_socket_example.c │ ├── raw_socket_send_udp.c │ └── udp_receiver.c └── udp │ ├── CMakeLists.txt │ ├── makefile │ ├── udp_broadcast_client.c │ ├── udp_broadcast_server.c │ ├── udp_client.c │ ├── udp_echo_server.c │ └── udp_server.c ├── state-machine └── mp3-example │ ├── CMakeLists.txt │ ├── mp3-example1.c │ └── mp3-example2.c ├── string ├── bcopy_sample.c ├── index_sample.c ├── memccpy_sample.c ├── memcpy_sample.c ├── strcpy_sample.c ├── strncat_sample.c ├── strncpy_sample.c ├── strpbrk_sample.c ├── strstr_sample.c ├── strtok_ipaddr.c └── strtok_sample.c ├── system ├── files │ ├── makefile │ ├── mktemp_example.c │ └── open_example.c ├── get_shutdown_time.c ├── get_sysinfo.c ├── get_uptime.c ├── ipc │ ├── fifo │ │ ├── makefile │ │ └── mkfifo_example.c │ ├── pipe │ │ ├── makefile │ │ ├── pipe_example.c │ │ └── popen_example.c │ ├── shared-memory │ │ ├── makefile │ │ ├── mmap │ │ │ ├── makefile │ │ │ ├── shared_anonymous_mmap.c │ │ │ └── shared_memory_mmap.c │ │ ├── reader_writer │ │ │ ├── makefile │ │ │ ├── shm_reader.c │ │ │ └── shm_writer.c │ │ └── shared_anonymous_mmap.c │ └── signal │ │ ├── makefile │ │ ├── simple_example.c │ │ └── start_stop_signal.c ├── process │ ├── create_process.c │ ├── create_process_from_exe.c │ ├── makefile │ └── process_name_demo.c ├── pthreads │ ├── condition_variable.c │ ├── hello.c │ ├── joinable.c │ ├── mutex.c │ ├── rwlock.c │ └── thread_name_demo.c ├── time │ ├── asctime_sample.c │ ├── ctime_sample.c │ ├── gettimeofday_sample.c │ ├── gettimestamp_microsecond.c │ ├── gmtime_sample.c │ ├── localtime_sample.c │ ├── makefile │ ├── mktime.c │ ├── time_sample.c │ └── timeval_to_tm.c └── timer │ ├── makefile │ ├── signal_interrupt_timer.c │ ├── simple_threading_timer.c │ └── sleep_example.c ├── third-party └── quectel-ppp │ ├── README.md │ ├── ip-up │ ├── quectel-chat-connect │ ├── quectel-chat-disconnect │ ├── quectel-ppp │ ├── quectel-ppp-kill │ └── quectel-pppd.sh └── unit-test └── MinUnit ├── .gitignore ├── README.md ├── makefile ├── minunit.h └── minunit_example.c /.gitignore: -------------------------------------------------------------------------------- 1 | a.out 2 | *.o 3 | 4 | .vscode/ 5 | build/ 6 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/README.md -------------------------------------------------------------------------------- /advance/omp/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/advance/omp/makefile -------------------------------------------------------------------------------- /advance/omp/omp-helloworld.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/advance/omp/omp-helloworld.c -------------------------------------------------------------------------------- /advance/omp/omp-loop-example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/advance/omp/omp-loop-example.c -------------------------------------------------------------------------------- /algorithm/sorting/qsort.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/algorithm/sorting/qsort.c -------------------------------------------------------------------------------- /auto/auto_execute.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/auto/auto_execute.c -------------------------------------------------------------------------------- /base/binary/count_bit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/base/binary/count_bit.c -------------------------------------------------------------------------------- /base/binary/dec2bin.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /base/container_of/container_of_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/base/container_of/container_of_example.c -------------------------------------------------------------------------------- /base/storage/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/base/storage/Makefile -------------------------------------------------------------------------------- /base/storage/static_variables.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/base/storage/static_variables.c -------------------------------------------------------------------------------- /base/type/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/base/type/Makefile -------------------------------------------------------------------------------- /base/type/typelimits.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/base/type/typelimits.c -------------------------------------------------------------------------------- /base/type/typesize.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/base/type/typesize.c -------------------------------------------------------------------------------- /checksum/crc16.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/checksum/crc16.c -------------------------------------------------------------------------------- /checksum/lrc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/checksum/lrc.c -------------------------------------------------------------------------------- /cpp/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/cpp/CMakeLists.txt -------------------------------------------------------------------------------- /cpp/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/cpp/main.cpp -------------------------------------------------------------------------------- /cpp/mix_c_cpp/cfunc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/cpp/mix_c_cpp/cfunc.c -------------------------------------------------------------------------------- /cpp/mix_c_cpp/cheader.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/cpp/mix_c_cpp/cheader.h -------------------------------------------------------------------------------- /cpp/mix_c_cpp/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/cpp/mix_c_cpp/main.cpp -------------------------------------------------------------------------------- /cpp/mix_c_cpp/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/cpp/mix_c_cpp/makefile -------------------------------------------------------------------------------- /datatype/alignment/format_struct.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/datatype/alignment/format_struct.c -------------------------------------------------------------------------------- /datatype/array/access_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/datatype/array/access_array.c -------------------------------------------------------------------------------- /datatype/array/dynamic_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/datatype/array/dynamic_array.c -------------------------------------------------------------------------------- /datatype/array/fake_2d_array.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/datatype/array/fake_2d_array.c -------------------------------------------------------------------------------- /datatype/array/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/datatype/array/makefile -------------------------------------------------------------------------------- /datatype/print_size.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/datatype/print_size.c -------------------------------------------------------------------------------- /dbus/01-client-server/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/dbus/01-client-server/Makefile -------------------------------------------------------------------------------- /dbus/01-client-server/dbus-client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/dbus/01-client-server/dbus-client.c -------------------------------------------------------------------------------- /dbus/01-client-server/dbus-server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/dbus/01-client-server/dbus-server.c -------------------------------------------------------------------------------- /debug/debug_print.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/debug/debug_print.c -------------------------------------------------------------------------------- /debug/gdb-multi-thread/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/debug/gdb-multi-thread/main.c -------------------------------------------------------------------------------- /debug/gdb-multi-thread/makefile: -------------------------------------------------------------------------------- 1 | all: 2 | gcc main.c -g -pthread 3 | -------------------------------------------------------------------------------- /debug/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/debug/makefile -------------------------------------------------------------------------------- /driver/pps-gpio-poll/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/driver/pps-gpio-poll/Makefile -------------------------------------------------------------------------------- /driver/pps-gpio-poll/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/driver/pps-gpio-poll/README.md -------------------------------------------------------------------------------- /driver/pps-gpio-poll/pps-gpio-poll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/driver/pps-gpio-poll/pps-gpio-poll.c -------------------------------------------------------------------------------- /driver/serial/hello_serial.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/driver/serial/hello_serial.c -------------------------------------------------------------------------------- /driver/serial/simple_serial.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/driver/serial/simple_serial.c -------------------------------------------------------------------------------- /error/hello_errno.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/error/hello_errno.c -------------------------------------------------------------------------------- /error/list_errno.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/error/list_errno.c -------------------------------------------------------------------------------- /error/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/error/makefile -------------------------------------------------------------------------------- /error/perror_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/error/perror_example.c -------------------------------------------------------------------------------- /gtk/gtk-test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/gtk/gtk-test.c -------------------------------------------------------------------------------- /gtk/hello-world-gtk.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/gtk/hello-world-gtk.c -------------------------------------------------------------------------------- /gtk/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/gtk/makefile -------------------------------------------------------------------------------- /hello/.gitignore: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /hello/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/CMakeLists.txt -------------------------------------------------------------------------------- /hello/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/Makefile -------------------------------------------------------------------------------- /hello/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/README.md -------------------------------------------------------------------------------- /hello/cmake/arm_linux_setup.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/cmake/arm_linux_setup.cmake -------------------------------------------------------------------------------- /hello/cmake/toolchain.linux-aarch64-buildroot.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/cmake/toolchain.linux-aarch64-buildroot.cmake -------------------------------------------------------------------------------- /hello/environment-setup-buildroot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/environment-setup-buildroot -------------------------------------------------------------------------------- /hello/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/hello.c -------------------------------------------------------------------------------- /hello/shared/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/shared/foo.c -------------------------------------------------------------------------------- /hello/shared/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/shared/hello.c -------------------------------------------------------------------------------- /hello/shared/libfoo.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/shared/libfoo.so -------------------------------------------------------------------------------- /hello/static/foo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/static/foo.c -------------------------------------------------------------------------------- /hello/static/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/static/hello.c -------------------------------------------------------------------------------- /hello/static/libfoo.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/hello/static/libfoo.a -------------------------------------------------------------------------------- /library/libevent/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/library/libevent/hello.c -------------------------------------------------------------------------------- /library/libmodbus/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/library/libmodbus/Makefile -------------------------------------------------------------------------------- /library/libmodbus/modbus-rtu-master.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/library/libmodbus/modbus-rtu-master.c -------------------------------------------------------------------------------- /library/libmodbus/modbus-rtu-slave.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/library/libmodbus/modbus-rtu-slave.c -------------------------------------------------------------------------------- /list/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/list/Makefile -------------------------------------------------------------------------------- /list/kernel_list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/list/kernel_list.h -------------------------------------------------------------------------------- /list/list.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/list/list.h -------------------------------------------------------------------------------- /list/listdemo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/list/listdemo.c -------------------------------------------------------------------------------- /list/listdemo.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/list/listdemo.h -------------------------------------------------------------------------------- /list/types.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/list/types.h -------------------------------------------------------------------------------- /log/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/README.md -------------------------------------------------------------------------------- /log/log.c/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/log.c/LICENSE -------------------------------------------------------------------------------- /log/log.c/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/log.c/README.md -------------------------------------------------------------------------------- /log/log.c/log.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/log.c/log.c -------------------------------------------------------------------------------- /log/log.c/log.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/log.c/log.h -------------------------------------------------------------------------------- /log/log.c/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/log.c/main.c -------------------------------------------------------------------------------- /log/log.c/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/log.c/makefile -------------------------------------------------------------------------------- /log/syslog/syslog_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/syslog/syslog_example.c -------------------------------------------------------------------------------- /log/zlog/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/zlog/CMakeLists.txt -------------------------------------------------------------------------------- /log/zlog/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/zlog/README.md -------------------------------------------------------------------------------- /log/zlog/dzlog_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/zlog/dzlog_example.c -------------------------------------------------------------------------------- /log/zlog/zlog.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/zlog/zlog.conf -------------------------------------------------------------------------------- /log/zlog/zlog_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/log/zlog/zlog_example.c -------------------------------------------------------------------------------- /make/add_demo/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/make/add_demo/CMakeLists.txt -------------------------------------------------------------------------------- /make/add_demo/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/make/add_demo/Makefile -------------------------------------------------------------------------------- /make/add_demo/add.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/make/add_demo/add.cpp -------------------------------------------------------------------------------- /make/add_demo/add.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/make/add_demo/add.h -------------------------------------------------------------------------------- /make/add_demo/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/make/add_demo/main.cpp -------------------------------------------------------------------------------- /make/gcc_std/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/make/gcc_std/Makefile -------------------------------------------------------------------------------- /make/gcc_std/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/make/gcc_std/main.c -------------------------------------------------------------------------------- /message-bus/zeromq/libzmq/helloworld_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/message-bus/zeromq/libzmq/helloworld_client.c -------------------------------------------------------------------------------- /message-bus/zeromq/libzmq/helloworld_server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/message-bus/zeromq/libzmq/helloworld_server.c -------------------------------------------------------------------------------- /message-bus/zeromq/libzmq/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/message-bus/zeromq/libzmq/makefile -------------------------------------------------------------------------------- /mixing/cpp/class/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/mixing/cpp/class/example.cpp -------------------------------------------------------------------------------- /mixing/cpp/class/example.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/mixing/cpp/class/example.h -------------------------------------------------------------------------------- /mixing/cpp/class/example_wrapper.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/mixing/cpp/class/example_wrapper.cpp -------------------------------------------------------------------------------- /mixing/cpp/class/example_wrapper.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/mixing/cpp/class/example_wrapper.h -------------------------------------------------------------------------------- /mixing/cpp/class/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/mixing/cpp/class/main.c -------------------------------------------------------------------------------- /mixing/cpp/class/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/mixing/cpp/class/makefile -------------------------------------------------------------------------------- /mixing/cpp/simple/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/mixing/cpp/simple/example.cpp -------------------------------------------------------------------------------- /mixing/cpp/simple/example.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/mixing/cpp/simple/example.h -------------------------------------------------------------------------------- /mixing/cpp/simple/main.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/mixing/cpp/simple/main.c -------------------------------------------------------------------------------- /mixing/cpp/simple/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/mixing/cpp/simple/makefile -------------------------------------------------------------------------------- /network/curl/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/network/curl/Makefile -------------------------------------------------------------------------------- /network/curl/http_download_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/network/curl/http_download_example.c -------------------------------------------------------------------------------- /network/detect_netdev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/network/detect_netdev.c -------------------------------------------------------------------------------- /network/epoll-server-example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/network/epoll-server-example.c -------------------------------------------------------------------------------- /network/get_dns.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/network/get_dns.c -------------------------------------------------------------------------------- /network/get_gateway.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/network/get_gateway.c -------------------------------------------------------------------------------- /network/get_netdev_name.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/network/get_netdev_name.c -------------------------------------------------------------------------------- /network/mqtt/MQTTClient/MQTTClient_publish.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/network/mqtt/MQTTClient/MQTTClient_publish.c -------------------------------------------------------------------------------- /network/mqtt/MQTTClient/MQTTClient_subscribe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/network/mqtt/MQTTClient/MQTTClient_subscribe.c -------------------------------------------------------------------------------- /network/mqtt/MQTTClient/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/network/mqtt/MQTTClient/Makefile -------------------------------------------------------------------------------- /network/mqtt/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/network/mqtt/README.md -------------------------------------------------------------------------------- /network/up_and_down_ethernet.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/network/up_and_down_ethernet.c -------------------------------------------------------------------------------- /operator/bit_operator.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/operator/bit_operator.c -------------------------------------------------------------------------------- /peripherals/gpio/gpio_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/peripherals/gpio/gpio_example.c -------------------------------------------------------------------------------- /peripherals/gpio/libgpiod-event.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/peripherals/gpio/libgpiod-event.c -------------------------------------------------------------------------------- /peripherals/gpio/libgpiod-input.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/peripherals/gpio/libgpiod-input.c -------------------------------------------------------------------------------- /peripherals/gpio/libgpiod-led.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/peripherals/gpio/libgpiod-led.c -------------------------------------------------------------------------------- /peripherals/gpio/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/peripherals/gpio/makefile -------------------------------------------------------------------------------- /peripherals/gps/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/peripherals/gps/README.md -------------------------------------------------------------------------------- /peripherals/gps/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/peripherals/gps/makefile -------------------------------------------------------------------------------- /peripherals/gps/read_gps_data.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/peripherals/gps/read_gps_data.c -------------------------------------------------------------------------------- /peripherals/serial/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/peripherals/serial/makefile -------------------------------------------------------------------------------- /peripherals/serial/rs485_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/peripherals/serial/rs485_example.c -------------------------------------------------------------------------------- /projects/dice/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/projects/dice/Makefile -------------------------------------------------------------------------------- /projects/dice/README.md: -------------------------------------------------------------------------------- 1 | # dice 2 | 3 | https://www.zhihu.com/question/386347847/answer/2576561977 4 | 5 | -------------------------------------------------------------------------------- /projects/dice/dice.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/projects/dice/dice.c -------------------------------------------------------------------------------- /projects/perpetual_calendar/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/projects/perpetual_calendar/Makefile -------------------------------------------------------------------------------- /projects/perpetual_calendar/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/projects/perpetual_calendar/README.md -------------------------------------------------------------------------------- /projects/perpetual_calendar/calendar.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/projects/perpetual_calendar/calendar.c -------------------------------------------------------------------------------- /service/systemd-example/example.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/service/systemd-example/example.service -------------------------------------------------------------------------------- /service/systemd-example/example.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo "The script works. `date`" > /tmp/diditwork.txt 3 | -------------------------------------------------------------------------------- /socket/raw_socket/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/socket/raw_socket/makefile -------------------------------------------------------------------------------- /socket/raw_socket/ping_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/socket/raw_socket/ping_example.c -------------------------------------------------------------------------------- /socket/raw_socket/raw_socket_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/socket/raw_socket/raw_socket_example.c -------------------------------------------------------------------------------- /socket/raw_socket/raw_socket_send_udp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/socket/raw_socket/raw_socket_send_udp.c -------------------------------------------------------------------------------- /socket/raw_socket/udp_receiver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/socket/raw_socket/udp_receiver.c -------------------------------------------------------------------------------- /socket/udp/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/socket/udp/CMakeLists.txt -------------------------------------------------------------------------------- /socket/udp/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/socket/udp/makefile -------------------------------------------------------------------------------- /socket/udp/udp_broadcast_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/socket/udp/udp_broadcast_client.c -------------------------------------------------------------------------------- /socket/udp/udp_broadcast_server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/socket/udp/udp_broadcast_server.c -------------------------------------------------------------------------------- /socket/udp/udp_client.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/socket/udp/udp_client.c -------------------------------------------------------------------------------- /socket/udp/udp_echo_server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/socket/udp/udp_echo_server.c -------------------------------------------------------------------------------- /socket/udp/udp_server.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/socket/udp/udp_server.c -------------------------------------------------------------------------------- /state-machine/mp3-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/state-machine/mp3-example/CMakeLists.txt -------------------------------------------------------------------------------- /state-machine/mp3-example/mp3-example1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/state-machine/mp3-example/mp3-example1.c -------------------------------------------------------------------------------- /state-machine/mp3-example/mp3-example2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/state-machine/mp3-example/mp3-example2.c -------------------------------------------------------------------------------- /string/bcopy_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/string/bcopy_sample.c -------------------------------------------------------------------------------- /string/index_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/string/index_sample.c -------------------------------------------------------------------------------- /string/memccpy_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/string/memccpy_sample.c -------------------------------------------------------------------------------- /string/memcpy_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/string/memcpy_sample.c -------------------------------------------------------------------------------- /string/strcpy_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/string/strcpy_sample.c -------------------------------------------------------------------------------- /string/strncat_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/string/strncat_sample.c -------------------------------------------------------------------------------- /string/strncpy_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/string/strncpy_sample.c -------------------------------------------------------------------------------- /string/strpbrk_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/string/strpbrk_sample.c -------------------------------------------------------------------------------- /string/strstr_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/string/strstr_sample.c -------------------------------------------------------------------------------- /string/strtok_ipaddr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/string/strtok_ipaddr.c -------------------------------------------------------------------------------- /string/strtok_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/string/strtok_sample.c -------------------------------------------------------------------------------- /system/files/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/files/makefile -------------------------------------------------------------------------------- /system/files/mktemp_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/files/mktemp_example.c -------------------------------------------------------------------------------- /system/files/open_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/files/open_example.c -------------------------------------------------------------------------------- /system/get_shutdown_time.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/get_shutdown_time.c -------------------------------------------------------------------------------- /system/get_sysinfo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/get_sysinfo.c -------------------------------------------------------------------------------- /system/get_uptime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/get_uptime.c -------------------------------------------------------------------------------- /system/ipc/fifo/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/fifo/makefile -------------------------------------------------------------------------------- /system/ipc/fifo/mkfifo_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/fifo/mkfifo_example.c -------------------------------------------------------------------------------- /system/ipc/pipe/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/pipe/makefile -------------------------------------------------------------------------------- /system/ipc/pipe/pipe_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/pipe/pipe_example.c -------------------------------------------------------------------------------- /system/ipc/pipe/popen_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/pipe/popen_example.c -------------------------------------------------------------------------------- /system/ipc/shared-memory/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/shared-memory/makefile -------------------------------------------------------------------------------- /system/ipc/shared-memory/mmap/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/shared-memory/mmap/makefile -------------------------------------------------------------------------------- /system/ipc/shared-memory/mmap/shared_anonymous_mmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/shared-memory/mmap/shared_anonymous_mmap.c -------------------------------------------------------------------------------- /system/ipc/shared-memory/mmap/shared_memory_mmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/shared-memory/mmap/shared_memory_mmap.c -------------------------------------------------------------------------------- /system/ipc/shared-memory/reader_writer/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/shared-memory/reader_writer/makefile -------------------------------------------------------------------------------- /system/ipc/shared-memory/reader_writer/shm_reader.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/shared-memory/reader_writer/shm_reader.c -------------------------------------------------------------------------------- /system/ipc/shared-memory/reader_writer/shm_writer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/shared-memory/reader_writer/shm_writer.c -------------------------------------------------------------------------------- /system/ipc/shared-memory/shared_anonymous_mmap.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/shared-memory/shared_anonymous_mmap.c -------------------------------------------------------------------------------- /system/ipc/signal/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/signal/makefile -------------------------------------------------------------------------------- /system/ipc/signal/simple_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/signal/simple_example.c -------------------------------------------------------------------------------- /system/ipc/signal/start_stop_signal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/ipc/signal/start_stop_signal.c -------------------------------------------------------------------------------- /system/process/create_process.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/process/create_process.c -------------------------------------------------------------------------------- /system/process/create_process_from_exe.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/process/create_process_from_exe.c -------------------------------------------------------------------------------- /system/process/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/process/makefile -------------------------------------------------------------------------------- /system/process/process_name_demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/process/process_name_demo.c -------------------------------------------------------------------------------- /system/pthreads/condition_variable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/pthreads/condition_variable.c -------------------------------------------------------------------------------- /system/pthreads/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/pthreads/hello.c -------------------------------------------------------------------------------- /system/pthreads/joinable.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/pthreads/joinable.c -------------------------------------------------------------------------------- /system/pthreads/mutex.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/pthreads/mutex.c -------------------------------------------------------------------------------- /system/pthreads/rwlock.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/pthreads/rwlock.c -------------------------------------------------------------------------------- /system/pthreads/thread_name_demo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/pthreads/thread_name_demo.c -------------------------------------------------------------------------------- /system/time/asctime_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/time/asctime_sample.c -------------------------------------------------------------------------------- /system/time/ctime_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/time/ctime_sample.c -------------------------------------------------------------------------------- /system/time/gettimeofday_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/time/gettimeofday_sample.c -------------------------------------------------------------------------------- /system/time/gettimestamp_microsecond.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/time/gettimestamp_microsecond.c -------------------------------------------------------------------------------- /system/time/gmtime_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/time/gmtime_sample.c -------------------------------------------------------------------------------- /system/time/localtime_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/time/localtime_sample.c -------------------------------------------------------------------------------- /system/time/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/time/makefile -------------------------------------------------------------------------------- /system/time/mktime.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/time/mktime.c -------------------------------------------------------------------------------- /system/time/time_sample.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/time/time_sample.c -------------------------------------------------------------------------------- /system/time/timeval_to_tm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/time/timeval_to_tm.c -------------------------------------------------------------------------------- /system/timer/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/timer/makefile -------------------------------------------------------------------------------- /system/timer/signal_interrupt_timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/timer/signal_interrupt_timer.c -------------------------------------------------------------------------------- /system/timer/simple_threading_timer.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/timer/simple_threading_timer.c -------------------------------------------------------------------------------- /system/timer/sleep_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/system/timer/sleep_example.c -------------------------------------------------------------------------------- /third-party/quectel-ppp/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/third-party/quectel-ppp/README.md -------------------------------------------------------------------------------- /third-party/quectel-ppp/ip-up: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/third-party/quectel-ppp/ip-up -------------------------------------------------------------------------------- /third-party/quectel-ppp/quectel-chat-connect: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/third-party/quectel-ppp/quectel-chat-connect -------------------------------------------------------------------------------- /third-party/quectel-ppp/quectel-chat-disconnect: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/third-party/quectel-ppp/quectel-chat-disconnect -------------------------------------------------------------------------------- /third-party/quectel-ppp/quectel-ppp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/third-party/quectel-ppp/quectel-ppp -------------------------------------------------------------------------------- /third-party/quectel-ppp/quectel-ppp-kill: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/third-party/quectel-ppp/quectel-ppp-kill -------------------------------------------------------------------------------- /third-party/quectel-ppp/quectel-pppd.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/third-party/quectel-ppp/quectel-pppd.sh -------------------------------------------------------------------------------- /unit-test/MinUnit/.gitignore: -------------------------------------------------------------------------------- 1 | minunit_example 2 | -------------------------------------------------------------------------------- /unit-test/MinUnit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/unit-test/MinUnit/README.md -------------------------------------------------------------------------------- /unit-test/MinUnit/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/unit-test/MinUnit/makefile -------------------------------------------------------------------------------- /unit-test/MinUnit/minunit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/unit-test/MinUnit/minunit.h -------------------------------------------------------------------------------- /unit-test/MinUnit/minunit_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/getiot/linux-c/HEAD/unit-test/MinUnit/minunit_example.c --------------------------------------------------------------------------------