Annotation of researchv10dc/630/man/src/p_man/man3/swab.3l, revision 1.1

1.1     ! root        1: .\"#ident      "@(#)ccsman:g3c/swab    1.2"
        !             2: '\"macro stdmacro
        !             3: .nr X
        !             4: .if \nX=0 .ds x} SWAB 3L "630 MTG" "\&"
        !             5: .TH \*(x}
        !             6: .SH NAME
        !             7: swab \- swap bytes
        !             8: .SH SYNOPSIS
        !             9: .B void swab (from, to, nbytes)
        !            10: .br
        !            11: .B char \(**from, \(**to;
        !            12: .br
        !            13: .B int nbytes;
        !            14: .SH DESCRIPTION
        !            15: .I swab\^
        !            16: copies
        !            17: .I nbytes\^
        !            18: bytes pointed to by
        !            19: .I from\^
        !            20: to the array pointed to by
        !            21: .IR to ,
        !            22: exchanging adjacent even and odd bytes.
        !            23: .I Nbytes\^
        !            24: should be even and non-negative.
        !            25: If
        !            26: .I nbytes\^
        !            27: is odd and positive,
        !            28: .I swab\^
        !            29: uses
        !            30: .IR nbytes \-1
        !            31: instead. If
        !            32: .I nbytes\^
        !            33: is negative,
        !            34: .I swab\^
        !            35: does nothing.
        !            36: .Ee

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.