purpose of rtems-bsd-kernel-namespace.h in rtems-libbsd

Sebastian Huber sebastian.huber at embedded-brains.de
Fri May 19 05:13:00 UTC 2017


On 19/05/17 03:24, Pham, Phong wrote:
> I am wondering what is the purpose of removing every single symbols 
> prefix (_bsd_) in the code?  Or alternatively, why adding _bsd_ for 
> every symbols in rtems_bsd-kernel-namespace.h?

The FreeBSD kernel has its own symbol namespace. Since it is used as a 
library in the context of RTEMS the _bsd prefix is added to prevent name 
conflicts with the application.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list