¡@

Home 

c++ Programming Glossary: freebsd

Finding current executable's path without /proc/self/exe

http://stackoverflow.com/questions/1023306/finding-current-executables-path-without-proc-self-exe

3 dyld Linux readlink proc self exe Solaris getexecname FreeBSD sysctl CTL_KERN KERN_PROC KERN_PROC_PATHNAME 1 FreeBSD if it.. FreeBSD sysctl CTL_KERN KERN_PROC KERN_PROC_PATHNAME 1 FreeBSD if it has procfs readlink proc curproc file FreeBSD doesn't.. 1 FreeBSD if it has procfs readlink proc curproc file FreeBSD doesn't have procfs by default NetBSD readlink proc curproc..

Tree implementation

http://stackoverflow.com/questions/1036504/tree-implementation

looking for an ANSI C implementation you can steal it from FreeBSD. The file you are looking for is called radix.c . It's used..

popen pipe slows down other threads

http://stackoverflow.com/questions/10960622/popen-pipe-slows-down-other-threads

up to 14 20 seconds. How to solve this problem System is FreeBSD 6.4 FILE pipe char buff 512 if pipe popen command.c_str r if..

Programmatically find the number of cores on a machine

http://stackoverflow.com/questions/150355/programmatically-find-the-number-of-cores-on-a-machine

onwards per comments numCPU sysconf _SC_NPROCESSORS_ONLN FreeBSD MacOS X NetBSD OpenBSD etc. int mib 4 size_t len sizeof numCPU..

What is a popular, multi-platform, free and open source socket library

http://stackoverflow.com/questions/1587252/what-is-a-popular-multi-platform-free-and-open-source-socket-library

wide range of operating systems Windows Unix Linux FreeBSD etc . Just like pthreads. Otherwise the only solution left would..

Send and Receive a file in socket programming in Linux with C/C++ (GCC/G++)

http://stackoverflow.com/questions/2014033/send-and-receive-a-file-in-socket-programming-in-linux-with-c-c-gcc-g

own version of sendfile but the exact interface may vary FreeBSD Mac OS X Solaris . In Linux 2.6.17 the splice system call was..

How to perform atomic operations on Linux?

http://stackoverflow.com/questions/2287451/how-to-perform-atomic-operations-on-linux

today some atomic operations Windows has Interlocked API FreeBSD has machine atomic.h Solaris has atomic.h Mac OS X has libkern..

C++ Timer function to provide time in nano seconds

http://stackoverflow.com/questions/275004/c-timer-function-to-provide-time-in-nano-seconds

main timespec ts clock_gettime CLOCK_MONOTONIC ts Works on FreeBSD clock_gettime CLOCK_REALTIME ts Works on Linux For windows you..

Programmatically obtain DNS servers of host

http://stackoverflow.com/questions/2916675/programmatically-obtain-dns-servers-of-host

being used by a host for three operating systems OS X FreeBSD and Windows. I'd like confirmation that the approaches below.. link at developer.apple.com Windows GetNetworkParms FreeBSD etc resolv.conf Thanks in advance for your help c cross platform..

GNU C++ how to check when -std=c++0x is in effect?

http://stackoverflow.com/questions/2958398/gnu-c-how-to-check-when-std-c0x-is-in-effect

is no problem to support GCC 4.4 and 4.5 under this system FreeBSD but obviously it changes the picture Using my system compiler..

Timers to measure latency

http://stackoverflow.com/questions/305615/timers-to-measure-latency

main timespec ts clock_gettime CLOCK_MONOTONIC ts Works on FreeBSD clock_gettime CLOCK_REALTIME ts Works on Linux For windows you..

SFTP C++ library?

http://stackoverflow.com/questions/360259/sftp-c-library

identically on numerous platforms including Solaris NetBSD FreeBSD OpenBSD Darwin HPUX IRIX AIX Tru64 Linux UnixWare HURD Windows..

Easiest way to build a cross-platform application

http://stackoverflow.com/questions/4780316/easiest-way-to-build-a-cross-platform-application

one C can be more portable than Java. One example is FreeBSD OS which had very poor support for Java some time ago don't..

Proper way to close a blocking UDP socket

http://stackoverflow.com/questions/6305441/proper-way-to-close-a-blocking-udp-socket

lot of different problems. Moving my application from one FreeBSD version to another I found that such close worked normally on.. until something returned from recv on newer. And OSX is FreeBSD based Portable way of closing sockets from different thread..

how to find the location of the executable in C

http://stackoverflow.com/questions/933850/how-to-find-the-location-of-the-executable-in-c

buf bufsize Linux readlink proc curproc file buf bufsize FreeBSD readlink proc self path a.out buf bufsize Solaris On Unixes..