annotate src/s/isc4-0.h @ 88374:fa717c37ad16

Include "character.h" instead of "charset.h". (Finsert_file_contents): Big change for the new code-conversion API. (choose_write_coding_system): Likewise. (Fwrite_region): Likewise. (build_annotations_2): Deleted. (e_write): Big change for the new code-conversion API.
author Kenichi Handa <handa@m17n.org>
date Fri, 01 Mar 2002 01:38:37 +0000
parents 628cd9eccd18
children 695cf19ef79e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6777
1f1e94761cd6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
1 #include "isc3-0.h"
1f1e94761cd6 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
9548
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
3 #undef LIBS_SYSTEM
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
4 #define LIBS_SYSTEM -linet -lcposix
7325
bfbebc2a04c9 (NEED_SIOCTL, ISC4_0): Declared.
Richard M. Stallman <rms@gnu.org>
parents: 6880
diff changeset
5
bfbebc2a04c9 (NEED_SIOCTL, ISC4_0): Declared.
Richard M. Stallman <rms@gnu.org>
parents: 6880
diff changeset
6 #define ISC4_0
8284
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
7
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
8 /* fmcphers@csugrad.cs.vt.edu reported this was necessary.
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
9 He used GCC. I don't know what is needed with other compilers. */
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
10 #ifdef __GNUC__
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
11 #undef LIBX11_SYSTEM
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
12 #define LIBX11_SYSTEM -lpt -lnls -lnsl_s -lcposix -lc
f21e11ac80bb [__GNUC__] (LIBX11_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 7577
diff changeset
13 #endif
9548
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
14
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
15 /* Tobias Herbert <herbert@clipper.ikp.physik.th-darmstadt.de>
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
16 says this is needed. */
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
17
12754
8ba3a8c5dc43 (sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
Richard M. Stallman <rms@gnu.org>
parents: 9548
diff changeset
18 #ifndef POSIX_SIGNALS
9548
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
19 #ifndef sigblock
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
20 #ifndef SIG_BLOCK
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
21 #define SIG_BLOCK 0
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
22 #endif
29810
4406a040b043 (sigblock): Redefined to pass a pointer as second
Gerd Moellmann <gerd@gnu.org>
parents: 14443
diff changeset
23 #define sigblock(sig) \
4406a040b043 (sigblock): Redefined to pass a pointer as second
Gerd Moellmann <gerd@gnu.org>
parents: 14443
diff changeset
24 (sigprocmask_set = SIGEMPTYMASK | (sig), \
4406a040b043 (sigblock): Redefined to pass a pointer as second
Gerd Moellmann <gerd@gnu.org>
parents: 14443
diff changeset
25 sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL))
29970
628cd9eccd18 (sigunblock): Define.
Gerd Moellmann <gerd@gnu.org>
parents: 29810
diff changeset
26 #define sigunblock(sig) \
628cd9eccd18 (sigunblock): Define.
Gerd Moellmann <gerd@gnu.org>
parents: 29810
diff changeset
27 (sigprocmask_set = SIGFULLMASK & ~(sig), \
628cd9eccd18 (sigunblock): Define.
Gerd Moellmann <gerd@gnu.org>
parents: 29810
diff changeset
28 sigprocmask (SIG_SETMASK, &sigprocmask_set, NULL))
9548
6c1db50b798d (LIBS_SYSTEM): Add -lcposix.
Richard M. Stallman <rms@gnu.org>
parents: 8530
diff changeset
29 #endif
12754
8ba3a8c5dc43 (sigblock, SIG_BLOCK): Don't define them if POSIX_SIGNALS.
Richard M. Stallman <rms@gnu.org>
parents: 9548
diff changeset
30 #endif /* not POSIX_SIGNALS */