2010-05-23から1日間の記事一覧

catが使う主な変数の役割

PC

グローバル int bflag, eflag, nflag, sflag, tflag, vflag; 各オプションに対応 main *

catが呼び出す外部変数

PC

setlocale http://www.jp.freebsd.org/cgi/mroff.cgi?sect=3&cmd=&lc=1&subdir=man&dir=jpman-6.0.0%2Fman&subdir=man&man=setlocale open 今回の肝 http://www.jp.freebsd.org/cgi/mroff.cgi?subdir=man&lc=1&cmd=&man=open&dir=jpman-6.0.0%2Fman§=0 isasc…

BSD版 cat メモ

PC

/*- * Copyright (c) 1989, 1993 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Kevin Fall. * * Redistribution and use in source and binary forms, with …

{PC]catの実装を読む

ノリと勢いで次回の勉強会で発表したいとか言ってしまったので、始めてみる。 とりあえずは予定と味見。 ToDoと進捗 本体プログラムの流れを把握 完了 外部プロセスやOS周りとの連携とかあれば理解する 未着手 外部関数の使われ方と仕事内容をチェック 抽出…