Annotation of 42BSD/lib/libc/vax/net/htons.c, revision 1.1

1.1     ! root        1: /* @(#)htons.c 4.1 12/15/82 */
        !             2: /* hostorder = htons(netorder) */
        !             3: 
        !             4: #include "DEFS.h"
        !             5: 
        !             6: ENTRY(htons)
        !             7:        rotl    $8,4(ap),r0
        !             8:        movb    5(ap),r0
        !             9:        movzwl  r0,r0
        !            10:        ret

unix.superglobalmegacorp.com

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