2012-04-01から1ヶ月間の記事一覧

LD_LIBRARY_PATH does not work in ld.

It seems man ld(1) says that LD_LIBRARY_PATH is used for search-path of shared libraries. But it seems LD_LIBRARY_PATH does not work in ld. In fact the explanation in man page doesn't mean like that. If a linked shared library uses another…

'd' key doesn't work in VNC viewer on Ubuntu 11.04

This is because 'd' key is assigned to "show desktop ( minimize all of the windows )" shortcut key by default.1. Install gconf-editor. $ sudo apt-get install gconf-editor 2. Modify key-biding of "show desktop" to something different.It is …

std::lock_guard と std::unique_lock の違い

http://www.justsoftwaresolutions.co.uk/threading/multithreading-in-c++0x-part-5-flexible-locking.html

std::listのiteratorの有効性

通常iteratorは、取得後にコンテナに変更が加えられたら、もはや有効ではない。 しかし、std::list の場合には、その要素自身をeraseしない限りは他の要素を 追加したり削除しても、有効なままであるらしい。これはスタンダートで定め られていることなので…

expectの使い方

http://floppsie.comp.glam.ac.uk/Glamorgan/gaius/scripting/5.html

main()関数の呼ばれ方

http://linuxgazette.net/issue84/hawk.html