OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man3 / memfrob.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\"
3 .\" %%%LICENSE_START(VERBATIM)
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein.  The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" %%%LICENSE_END
24 .\"
25 .\" References consulted:
26 .\"     Linux libc source code
27 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
28 .\"     386BSD man pages
29 .\" Modified Sat Jul 24 18:54:45 1993 by Rik Faith (faith@cs.unc.edu)
30 .\"*******************************************************************
31 .\"
32 .\" This file was generated with po4a. Translate the source file.
33 .\"
34 .\"*******************************************************************
35 .TH MEMFROB 3 2010\-09\-10 GNU "Linux Programmer's Manual"
36 .SH 名前
37 memfrob \- メモリエリアの操作 (暗号化)
38 .SH 書式
39 .nf
40 \fB#define _GNU_SOURCE\fP             /* feature_test_macros(7) 参照 */
41 \fB#include <string.h>\fP
42 .sp
43 \fBvoid *memfrob(void *\fP\fIs\fP\fB, size_t \fP\fIn\fP\fB);\fP
44 .fi
45 .SH 説明
46 \fBmemfrob\fP()  関数は、メモリエリア \fIs\fP の最初の \fIn\fP バイトの それぞれの文字を 42
47 との排他的論理をとることによって暗号化する。 変換後のデータは、暗号化されているメモリエリアに (再度)  \fBmemfrob\fP()
48 関数を施すことで、元に戻すことができる。
49 .PP
50 この関数は妥当な暗号化ルーチンであるとは言えないことに注意して欲しい。 XOR をとる定数を固定しているので、せいぜい、文字列を隠す程度の用法にし
51 か向いていない。
52 .SH 返り値
53 \fBmemfrob\fP()  関数は、暗号化されたメモリエリアへのポインタを返す。
54 .SH 準拠
55 \fBmemfrob\fP()  関数は GNU C ライブラリに固有である。
56 .SH 関連項目
57 \fBstrfry\fP(3)
58 .SH この文書について
59 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
60 である。プロジェクトの説明とバグ報告に関する情報は
61 http://www.kernel.org/doc/man\-pages/ に書かれている。