.\" -*- coding: UTF-8 -*- '\" t .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk) .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" References consulted: .\" Linux libc source code .\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991) .\" 386BSD man pages .\" Modified Sat Jul 24 17:52:15 1993 by Rik Faith (faith@cs.unc.edu) .\" Modified 2001-12-15, aeb .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH swab 3 "2023년 7월 20일" "Linux man\-pages 6.05.01" .SH 이름 swab \- 근접 바이트들을 교환한다. .SH 라이브러리 표준 C 라이브러리 (\fIlibc\fP, \fI\-lc\fP) .SH 요약 .nf \fB#define _XOPEN_SOURCE\fP /* See feature_test_macros(7) */ \fB#include \fP .PP \fBvoid swab(const void \fP\fIfrom\fP\fB[restrict .\fP\fIn\fP\fB], void \fP\fIto\fP\fB[restrict .\fP\fIn\fP\fB],\fP \fB ssize_t \fP\fIn\fP\fB);\fP .fi .SH 설명 \fBswab\fP() 함수는 \fIfrom\fP이 가리키는 배열에서 \fIto\fP가 가리키는 배열로 \fIn\fP 바이트를 복사하고, 근접해 있는 짝수와 홀수 바이트들을 교환한다. 이 함수는 다른 하위/상위 바이트 순서를 가지고 있는 머신들 사이에서 데이터를 교환하는데 사용된다. .PP This function does nothing when \fIn\fP is negative. When \fIn\fP is positive and odd, it handles \fIn\-1\fP bytes as above, and does something unspecified with the last byte. (In other words, \fIn\fP should be even.) .SH 반환값 \fBswab\fP()함수는 어떤 값도 반환하지 않는다. .SH 속성 이 섹션에서 사용되는 용어에 대한 설명은 \fBattributes\fP(7)을 참조하십시오. .TS allbox; lbx lb lb l l l. 상호 작용 속성 번호 T{ .na .nh \fBswab\fP() T} Thread safety MT\-Safe .TE .sp 1 .SH 표준 POSIX.1\-2008. .SH 이력 POSIX.1\-2001, SVr4, 4.3BSD. .SH "추가 참조" \fBbstring\fP(3) .PP .SH 번역 이 매뉴얼 페이지의 한국어 번역은 다음에 의해 편집되었습니다: 정강훈 . .PP 이 번역은 무료 문서입니다. 저작권 조건에 대해서는 .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License 버전 3 .UE 이상을 읽으십시오. 책임이 없습니다. .PP 이 매뉴얼 페이지의 번역에서 오류를 발견하면 .MT translation-team-ko@googlegroups.com .ME 로 이메일을 보내주십시오.