Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
新しいlibc関数を追加し、Cプログラムから呼び出すにはどうすればよいですか?新しい関数は、カーネルレベルのシステムコールのラッパーではありません。その機能はユーザースペースで実行されます。
それを独自のライブラリファイルに入れて、とリンクし-llibrary_name_hereます。libcに属するものはすでにそこにあります(そこに属していないものもたくさんあります)。
-llibrary_name_here