¡@

Home 

c++ Programming Glossary: bsd

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

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

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..

Getting a FILE* from a std::fstream

http://stackoverflow.com/questions/109449/getting-a-file-from-a-stdfstream

up funopen Unfortunately this is not a POSIX API it a BSD extension so its portability is in question. Which is also probably..

How to support both IPv4 and IPv6 connections

http://stackoverflow.com/questions/1618240/how-to-support-both-ipv4-and-ipv6-connections

if you could point out any differences between Winsock and BSD sockets. Thanks in advance c winsock ipv6 bsd sockets ipv4..

Microsecond resolution timestamps on Windows

http://stackoverflow.com/questions/2414359/microsecond-resolution-timestamps-on-windows

but not that useful. If the answer is just do this with BSD or Linux it's a lot easier and that's fine but I would like.. to why this is so hard in Windows and so easy in Linux and BSD . It's the same fine hardware... c windows boost time share..

Uses of a C++ Arithmetic Promotion Header

http://stackoverflow.com/questions/2426330/uses-of-a-c-arithmetic-promotion-header

. That's even in the part of our library that's BSD licensed though it doesn't actually say so in the file itself...

Good free FTP Client Library (for Windows C++ commercial apps)? [closed]

http://stackoverflow.com/questions/259166/good-free-ftp-client-library-for-windows-c-commercial-apps

source Windows FTP client library with a public domain or BSD type license. Something that I have access to the source code..

C++ Timer function to provide time in nano seconds

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

function repeatedly in a loop is correct. For Linux and BSD you want to use clock_gettime . #include sys time.h int main.. timespec ts clock_gettime CLOCK_MONOTONIC ts Works on FreeBSD clock_gettime CLOCK_REALTIME ts Works on Linux For windows you..

How to set a timeout on blocking sockets in boost asio?

http://stackoverflow.com/questions/291871/how-to-set-a-timeout-on-blocking-sockets-in-boost-asio

boost asio share improve this question Under Linux BSD the timeout on I O operations on sockets is directly supported..

strptime() equivalent on Windows?

http://stackoverflow.com/questions/321849/strptime-equivalent-on-windows

share improve this question An open source version BSD license of strptime can be found here http cvsweb.netbsd.org..

There is a function to use pattern matching (using regular expressions) in C++?

http://stackoverflow.com/questions/329517/there-is-a-function-to-use-pattern-matching-using-regular-expressions-in-c

a unix environment you almost certainly have access to the BSD regular expression tools regcomp regerror regexec regfree which..

C++ HTML template framework, templatizing library, HTML generator library

http://stackoverflow.com/questions/355650/c-html-template-framework-templatizing-library-html-generator-library

http tech.groups.yahoo.com group ClearSilver License New BSD License Language C Last Update Nov 28 2011 Last Release 0.10.5.. teng Group http sourceforge.net projects teng License New BSD License Language C Binding php python Last Update Mar 8 2011.. ctpp.havoc.ru en Project download only Group none License BSD License Language C with C API Last Update Oct 5 2011 Last Release..

Thrift vs Protocol buffers

http://stackoverflow.com/questions/4293385/thrift-vs-protocol-buffers

but available like Zeroc ICE . Protobuf is released under BSD style license Thrift is released under Apache license Additionally..

C++ performance challenge: integer to std::string conversion

http://stackoverflow.com/questions/4351371/c-performance-challenge-integer-to-stdstring-conversion

to use that code I'll make it available under a simplified BSD license commercial use allowed attribution required . Just ask...

Could someone post a simple C or C++ TCP server and client example?

http://stackoverflow.com/questions/662328/could-someone-post-a-simple-c-or-c-tcp-server-and-client-example

you probably asking for C example based on traditional BSD sockets. Solutions like boost asio are IMHO quite complicated..

Does dynamic memory allocation differ in C and C++ in popular implementations?

http://stackoverflow.com/questions/7443782/does-dynamic-memory-allocation-differ-in-c-and-c-in-popular-implementations

running on mainly the then current versions of SunOs and BSD . To counter this at first I wrote a number of special purpose..

Windows C++: How can I redirect stderr for calls to fprintf?

http://stackoverflow.com/questions/7664/windows-c-how-can-i-redirect-stderr-for-calls-to-fprintf

for calls to fprintf I am wrapping existing C code from a BSD project in our own custom wrapper and I want to integrate it..

Fastest way to find the number of lines in a text (C++)

http://stackoverflow.com/questions/843154/fastest-way-to-find-the-number-of-lines-in-a-text-c

a hacky way to do this which is also used by for instance BSD Linux kernel or berkeley db. may be by using bitwise operations..

Lower than low level common bsd sockets

http://stackoverflow.com/questions/124968/lower-than-low-level-common-bsd-sockets

than low level common bsd sockets How do you do low low level sockets in C example actually.. actually sending a SYN. c c sockets network programming bsd sockets share improve this question What you actually want..

How to support both IPv4 and IPv6 connections

http://stackoverflow.com/questions/1618240/how-to-support-both-ipv4-and-ipv6-connections

Winsock and BSD sockets. Thanks in advance c winsock ipv6 bsd sockets ipv4 share improve this question The best approach..

Programmatically obtain DNS servers of host

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

share improve this question On many unix systems linux bsd you can use the resolver functions to obtain the list of DNS..

BSD Sockets - How to use non-blocking sockets?

http://stackoverflow.com/questions/6699488/bsd-sockets-how-to-use-non-blocking-sockets

it like that . Any help is appreciated. c sockets tcp bsd nonblocking share improve this question Whenever I run it..

Using select() for non-blocking sockets

http://stackoverflow.com/questions/6715736/using-select-for-non-blocking-sockets

point it out any help is appreciated. c c sockets select bsd share improve this question The problem is that when I run..

C++ sockets library for cross-platform

http://stackoverflow.com/questions/678367/c-sockets-library-for-cross-platform

share improve this question You can use normal bsd style sockets. You may have a few #ifdef's going on to detect..