#author("2018-02-14T06:19:13+00:00","default:admin","admin")
-[[https://stackoverflow.com/questions/2250607/what-c-lib-to-use-when-i-need-to-parse-a-simple-config-file-under-linux]]
#author("2020-02-07T03:54:25+00:00","default:admin","admin")
*libiconv [#p685177f]
-[[LinuxのC言語で Shift-JIS と UTF-8 の相互変換:http://www.naturalsoftware.jp/entry/20100312/1268413354]]

-libconfig (https://github.com/hyperrealm/libconfig / https://hyperrealm.github.io/libconfig/)
-libconfuse (https://github.com/martinh/libconfuse)
-inih (https://github.com/benhoyt/inih)
-libconfigini (https://github.com/taneryilmaz/libconfigini)
-iniparser (http://ndevilla.free.fr/iniparser/)
*libusb [#o1f1a4d4]
-[[libusbについて:http://penguin.tantin.jp/hard/libusb%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6.html]]

-[[sedでできる設定ファイル書き換えメモ:https://qiita.com/ryurock/items/7415260096bedd841826]]
-[[MightyPork/usb_hid_keys.h:https://gist.github.com/MightyPork/6da26e382a7ad91b5496ee55fdc73db2]]

*シリアル通信 [#d485b567]
-[[The Linux Serial Programming HOWTO:http://archive.linux.or.jp/JF/JFdocs/Serial-Programming-HOWTO.html]]

-[[Linuxでシリアル通信のプログラム(C言語)を書く:http://mcommit.hatenadiary.com/entry/2017/07/09/210840]]
-[[PC-UNIX関連ドキュメント「シリアルポートプログラミング」:http://www006.upp.so-net.ne.jp/kasuya/linux/serial_io_programing.html]] 
-[[技術 / UNIX / 端末やターミナルの文字化け対処(clear,reset,stty sane,tput,ncurses):https://www.glamenv-septzen.net/view/1247]]

**用語 [#y0328e6a]
-カノニカル ... 入力は行単位で行われる(デフォルト)
-非カノニカル ... 非カノニカル:read毎に決まった文字数を扱う。決まった文字数のキャラクタを受信するときなどに使用。

**termios [#hdad3574]
-[[Man of TERMIOS:https://linuxjm.osdn.jp/html/LDP_man-pages/man3/termios.3.html]]

-[[FAQ : シリアル通信をおこなうプログラムを作成するには?:https://armadillo.atmark-techno.com/faq/serial-programming]]
-[[6.5. シリアルポートの入出力:https://manual.atmark-techno.com/armadillo-guide/armadillo-guide-2_ja-2.1.0/ch06.html#sec_using_serial_port]]

*マクロ [#w24e40ee]
-[[Linux環境のC言語で、実行ファイルを呼び出して、結果を取得する方法:http://ajya.hatenablog.jp/entry/2013/02/08/222315]]

**wait [#ie88c699]
-WIFEXIRED(status) ... exitで終了していたら非0、それ以外なら0
-WEXITSTATUS(status) ... exitで終了していたときに、その終了コードを返す
-WIFSIGNALED(status) ... シグナルで終了していたら非0、それ以外なら0
-WTERMSIG(status) ... シグナルで終了したときに、そのシグナル番号を返す

*定数 [#fb772503]
-プログラムが終了した際に実行環境に返す値
--EXIT_SUCCESS
--EXIT_FAILURE


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS