View | Details | Raw Unified | Return to bug 74751
Collapse All | Expand All

(-)include/string.h (-2 / +7 lines)
Lines 108-115 Link Here
108
#endif
108
#endif
109
size_t	 strxfrm(char * __restrict, const char * __restrict, size_t);
109
size_t	 strxfrm(char * __restrict, const char * __restrict, size_t);
110
#if __BSD_VISIBLE
110
#if __BSD_VISIBLE
111
void	 swab(const void *, void *, size_t);
111
112
#endif
112
#ifndef _SWAB_DECLARED
113
#define _SWAB_DECLARED
114
void	 swab(const void * __restrict, void * __restrict, ssize_t);
115
#endif /* _SWAB_DECLARED */
116
117
#endif /* __BSD_VISIBLE */
113
__END_DECLS
118
__END_DECLS
114
119
115
#endif /* _STRING_H_ */
120
#endif /* _STRING_H_ */
(-)include/unistd.h (-1 / +6 lines)
Lines 436-442 Link Here
436
int	 setpgrp(pid_t _pid, pid_t _pgrp); /* obsoleted by setpgid() */
436
int	 setpgrp(pid_t _pid, pid_t _pgrp); /* obsoleted by setpgid() */
437
int	 setregid(gid_t, gid_t);
437
int	 setregid(gid_t, gid_t);
438
int	 setreuid(uid_t, uid_t);
438
int	 setreuid(uid_t, uid_t);
439
/* void	 swab(const void * __restrict, void * __restrict, ssize_t); */
439
440
#ifndef _SWAB_DECLARED
441
#define _SWAB_DECLARED
442
void	 swab(const void * __restrict, void * __restrict, ssize_t);
443
#endif /* _SWAB_DECLARED */
444
440
void	 sync(void);
445
void	 sync(void);
441
useconds_t	 ualarm(useconds_t, useconds_t);
446
useconds_t	 ualarm(useconds_t, useconds_t);
442
int	 usleep(useconds_t);
447
int	 usleep(useconds_t);
(-)lib/libc/string/swab.c (-1 / +1 lines)
Lines 40-46 Link Here
40
#include <sys/cdefs.h>
40
#include <sys/cdefs.h>
41
__FBSDID("$FreeBSD: src/lib/libc/string/swab.c,v 1.5 2002/08/30 20:33:05 robert Exp $");
41
__FBSDID("$FreeBSD: src/lib/libc/string/swab.c,v 1.5 2002/08/30 20:33:05 robert Exp $");
42
42
43
#include <string.h>
43
#include <unistd.h>
44
44
45
void
45
void
46
swab(const void * __restrict from, void * __restrict to, size_t len)
46
swab(const void * __restrict from, void * __restrict to, size_t len)
(-)lib/libc/string/swab.3 (-1 / +1 lines)
Lines 41-47 Link Here
41
.Sh LIBRARY
41
.Sh LIBRARY
42
.Lb libc
42
.Lb libc
43
.Sh SYNOPSIS
43
.Sh SYNOPSIS
44
.In string.h
44
.In unistd.h
45
.Ft void
45
.Ft void
46
.Fn swab "const void * restrict src" "void * restrict dst" "size_t len"
46
.Fn swab "const void * restrict src" "void * restrict dst" "size_t len"
47
.Sh DESCRIPTION
47
.Sh DESCRIPTION

Return to bug 74751