~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man3/endian.3

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-11-17 16:35:58 UTC
  • mfrom: (1.1.45 upstream) (2.2.8 sid)
  • Revision ID: james.westby@ubuntu.com-20101117163558-9h3ho5jumqm3rdmd
Tags: 3.27-1ubuntu1
* Merge from Debian unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
.\" Formatted or processed versions of this manual, if unaccompanied by
24
24
.\" the source, must acknowledge the copyright and authors of this work.
25
25
.\"
26
 
.TH ENDIAN 3  2009-01-19 "GNU" "Linux Programmer's Manual"
 
26
.TH ENDIAN 3  2010-09-10 "GNU" "Linux Programmer's Manual"
27
27
.SH NAME
28
28
htobe16, htole16, be16toh, le16toh, htobe32, htole32, be32toh, le32toh,
29
29
htobe64, htole64, be64toh, le64toh \-
30
30
convert values between host and big-/little-endian byte order
31
31
.SH SYNOPSIS
32
32
.nf
33
 
.B #define _BSD_SOURCE
 
33
.BR "#define _BSD_SOURCE" "             /* See feature_test_macros(7) */"
34
34
.B #include <endian.h>
35
35
 
36
36
.BI "uint16_t htobe16(uint16_t " host_16bits );
149
149
.SH "SEE ALSO"
150
150
.BR byteorder (3)
151
151
.SH COLOPHON
152
 
This page is part of release 3.26 of the Linux
 
152
This page is part of release 3.27 of the Linux
153
153
.I man-pages
154
154
project.
155
155
A description of the project,