swab(3) Library Functions Manual swab(3) swab - C (libc, -lc) #define _XOPEN_SOURCE /* . feature_test_macros(7) */ #include void swab(ssize_t n; const void from[restrict n], void to[restrict n], ssize_t n); swab() n , from , to, . , / . , n . n , n-1 , , ( , n ). swab() . attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |swab() | | MT-Safe | +----------------------------+----------------------------------------------------------+--------------------------+ POSIX.1-2008. POSIX.1-2001, SVr4, 4.3BSD. bstring(3) () Alexander Golubev , Azamat Hackimov , Hotellook, Nikita , Spiros Georgaras , Vladislav , Yuri Kozlov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.17 8 2026 . swab(3)