ref: d3f82d64da6f68675651b8271fb126fb502c0125
dir: /programming.md/
# C Programming ## Pointers Here are some pointers about C programming on Plan 9. ### Beginners [C Programming in Plan 9](http://doc.cat-v.org/plan_9/programming/c_programming_in_plan_9) ### General information * 2c(1), 2l(1), 2a(1) * `/sys/doc/comp.ps` * `/sys/doc/compiler.ps` ### Style guides * style(6) * [Pike style](http://doc.cat-v.org/bell_labs/pikestyle) * [aiju style](http://aiju.de/misc/c-style) ## Notes 2c, 6c, 8c, etc all refer to the same compiler suite, but each compiles for a different target architecture. The compiler suite is sometimes referred to as kencc. The language itself is sometimes referred to as 9c. ## ANSI C If an ANSI C compiler is needed, use pcc. * pcc(1) * cpp(1) * `/sys/doc/ape.ps`