Ay: Ağustos 2015

Loading libraries with LD_LIBRARY_PATH

Posted on 26 Ağustos 2015 in Programlama by

You can create any config file under following path: /etc/ld.so.conf.d then run: ldconfig -v With those steps no need to

Basic multiprocess server design in c

Posted on 24 Ağustos 2015 in Programlama by

Following code creates a new subprocess per connection from the port 1005. You can show them all by ps command.

Recursive Makefile Example

Posted on 20 Ağustos 2015 in Programlama by

I wanted to come up with generic way using only make (no autoconf/automake/etc) to solve the following problem: Given a

Posix thread notes

Posted on 19 Ağustos 2015 in Programlama by

pthread_once example   (https://computing.llnl.gov/tutorials/pthreads/man/pthread_once.txt) Save following code as main.c and compile with the given command. compile as gcc main.c -o

NM command and symbol meanings

Posted on 14 Ağustos 2015 in Programlama by

If the previous code is compiled with the gcc C compiler, the output of the nm command is the following: