xseg_posixfd: Remove unused char array
xseg_posixfd: Fix coding style issues
xseg_posix: Simplify posix_allocate function

* Use ftruncate syscall to expand the shared memory segment
  instead of lseek and write.

* Return an int instead of long in posix_allocate and
  posix_deallocate functions, the long value was never
  used for it's real value anyway.
xseg_posix: Fix coding style issues
xseg_pthread:  Simplify posix_allocate function

* Use ftruncate syscall to expand the shared memory segment
  instead of lseek and write.

* Return an int instead of long in posix_allocate and
  posix_deallocate functions, the long value was never
  used for it's real value anyway.

* Propagate errno for xseg_join.
xseg_pthread: Fix coding style issues
xseg_user: Remove xseg_snprintf wrapper

Directly use snprintf in XSEGLOG definition instead of
the xseg_snprintf wrapper.
initialize: Add copyright header
Remove superfluous __KERNEL__ definitions
xseg: Remove superfluous NULL definition
xseg: Fix coding style issues
xseg-tool: Fix coding style issues
xseg-tool: Remove some double return values
headers: Fix coding style issues
xbinheap: Fix coding style issues
xcache: Fix coding style issues
xlist: Fix coding style issues
xobj: Fix coding style issues
xpool: Fix coding style issues
xq: Fix coding style issues