/** Copyright 2011 Haiku, Inc. All rights reserved.* Distributed under the terms of the MIT License.** Authors:* Axel DΓΆrfler <axeld@pinc-software.de>* Niels Sascha Reedijk <niels.reedijk@gmail.com>* Ingo Weinhold <ingo_weinhold@gmx.de>* Alex Wilson <yourpalal2@gmail.com>*//*!\page compatibility Application Level API Incompatibilities with BeOSHaiku R1 (x86) was designed and is being implemented to be binary and sourcecompatible with applications written for BeOS R5 (x86) to a large extent, butnot the other way around. In some cases we deliberately broke sourcecompatibility while at the same time maintaining binary compatibility. Here aresome specific examples:- The \c "be" header path is gone - it's called \c "os" in Haiku; since it isalways part of the default header search path anyway, you can always justremove it to let your software compile on both platforms, ie. replace:\code#include <be/interface/View.h>\endcodewith:\code#include <interface/View.h>\endcodeor rather use the preferred method of omitting the first part and use:\code#include <View.h>\endcode- BeOS contains a deprecated \c add-ons/TrackerAddons.h header, and aheader called \c add-ons/TrackerAddOns.h - Haiku only contains thelatter.- Likewise, you'll find \c support/byteorder.h and \c support/ByteOrder.hin BeOS; Haiku only has ByteOrder.h.- If you have subclassed BString and if you are using its \c _privateDatamember, you might notice that it is no longer mentioned in the documentation.This is because it has been marked as private.- The undocumented functions defined in Alias.h from the storage kit are notimplemented.- The private Device Map API (used by OpenTracker) has been replaced by adifferent API (Disk Device API).- The application debugging interface is conceptually similar, but neverthelesssource and binary incompatible.- The file system API has changed; file systems that worked on BeOS will nolonger work on Haiku.- Haiku is binary compatible with the Network Kit in BeOS R5 as well as BONE,ie. the BSD socket API as well as Be's proprietary C++ API.However, the ioctl() interface is not compatible with BONE (BeOS R5 did nothave such an interface in the first place).- In several places we also dropped compatibility support for older BeOSversions (PR2, R3, R4), which BeOS R5 still featured.- The BArchivable class has been updated, and for some classes, unarchivingis slightly different.*/