๋ฐ์ํ ctags2 [C : ls] C์ธ์ด๋ก ls ๊ตฌํํ๊ธฐ #dirent ls๋ฅผ ๊ตฌํํ๊ธฐ ์ํด ์ฌ์ฉ ํ dirent์ ๋ํด ์์๋ด directory ๋ฅผ ์ด๊ธฐ ์ํด opendir() ํจ์๋ฅผ ์ฌ์ฉํ๋๋ฐ, ์๋ ๋๋ ํฐ๋ฆฌ๊ฒฝ๋ก๋ฅผ ๋ฐ๊ณ , ๋๋ ํฐ๋ฆฌ๋ฅผ ์ด ์ ์์ผ๋ฉด DIR *, ์ด ์ ์์ผ๋ฉด NULL ๋ฐํ /* Open a directory stream on NAME. Return a DIR stream on the directory, or NULL if it could not be opened. This function is a possible cancellation point and therefore not marked with __THROW. */ extern DIR *opendir (const char *__name) __nonnull ((1)); DIR์ ๋ญ์ง ? /* This i.. 2023. 12. 16. [C : ctags] ctags ์ค์น #universal-ctags ctags ์๋๊ณ universal-ctags ์ค๋๋ง์ C์ธ์ด๋ฅผ ๋ค์๋ณด๋ฉด์.. ctags๋ฅผ ์ฐ๋ ค๊ณ ํ๋๋ ์ค์น๊ฐ ์๋์ด ์์ด์ ์ค์นํ๋ ค๊ณ ํ๋๋ฐ.. ๐ฅ ์๋๋ฌธ์ ํจํค์ง๊ฐ ์ ์จ !!! ๐ก E: Package 'ctags' has no installation candidate mimi@mimi:~/Mimi/lang/c$ sudo apt-get install -y ctags Reading package lists... Done Building dependency tree... Done Reading state information... Done Package ctags is a virtual package provided by: exuberant-ctags 1:5.9~svn20110310-16ubuntu0.2.. 2023. 12. 16. ์ด์ 1 ๋ค์ ๋ฐ์ํ