bsd

Using BSD-licensed framework in GPL-licensed project

Can I use framework that licensed under BSD license within my project that licensed under GPL or LGPL? ...

Redistribution of BSD license component

Hi, I need to reuse a BSD license component in my product. Once the product is developed I am going to redistribute that to several users with this component embedded with my product (I am using it as a library). Does this allowed in BSD license? Regards, Dilshan ...

how to get thread ID as integer on BSD in C/C++?

Does anyone know to get the current thread ID as an integer on BSD? i found this #ifdef RTHREADS 299 STD { pid_t sys_getthrid(void); } 300 STD { int sys_thrsleep(void *ident, int timeout, void *lock); } 301 STD { int sys_thrwakeup(void *ident, int n); } 302 STD { int sys_threxit(int rval); } 30...

Xcode: wordexp() does not work some times, returns 0 matched words for "~"

Hi, I'm seeing some weird behaviour when using wordexp() in a minimal C program when started within Xcode. I cannot reproduce this by starting the compiled binary from the command line. #include <stdio.h> #include <stdlib.h> #include <wordexp.h> #include <errno.h> #include <assert.h> int main (int argc, const char * argv[]) { int ...