70300fdb1c
* dcrt0.cc (signal_shift_subtract): Eliminate ancient backwards compatibility. (check_sanity_and_sync): Ditto. * winsup.h (SIGTOMASK): Ditto. Just use constant in signal calculation. * include/cygwin/version: Remove backwards signal mask compatibility define. * path.cc (symlink_info::check_sysfile): Cosmetic change. * registry.cc (get_registry_hive_path): Remove unneeded variable. * exceptions.cc (handle_sigsuspend): Eliminate thread signal mask and use either main sigmask or current thread sigmask. (set_process_mask): Ditto. (sighold): Ditto. (sigrelse): Ditto. (sigset): Ditto. (set_process_mask_delta): Ditto. (_cygtls::call_signal_handler): Ditto. * fhandler_process.cc (format_process_status): Ditto. * fhandler_termios.cc (fhandler_termios::bg_check): Ditto. * pinfo.h (class pinfo): Ditto. * select.cc (pselect): Ditto. * signal.cc (sigprocmask): Ditto. (abort): Ditto. (sigpause): Ditto. (sigsend): Ditto. (wait_sig): Ditto. * thread.h (pthread::parent_tls): New member. * thread.cc (pthread::pthread): Record parent_tls here. (pthread::thread_init_wrapper): Initialize sigmask from parent thread.
38 lines
857 B
C
38 lines
857 B
C
/* strings.h
|
|
|
|
Copyright 2007 Red Hat, Inc.
|
|
|
|
This file is part of Cygwin.
|
|
|
|
This software is a copyrighted work licensed under the terms of the
|
|
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
|
|
details. */
|
|
|
|
#ifndef _STRINGS_H_
|
|
#define _STRINGS_H_
|
|
|
|
/* newlib's string.h already declares these functions. */
|
|
#ifndef _STRING_H_
|
|
|
|
#include "_ansi.h"
|
|
|
|
#define __need_size_t
|
|
#include <stddef.h>
|
|
|
|
_BEGIN_STD_C
|
|
|
|
int _EXFUN(bcmp,(const void *, const void *, size_t));
|
|
void _EXFUN(bcopy,(const void *, void *, size_t));
|
|
void _EXFUN(bzero,(void *, size_t));
|
|
int _EXFUN(ffs,(int));
|
|
char *_EXFUN(index,(const char *, int));
|
|
char *_EXFUN(rindex,(const char *, int));
|
|
int _EXFUN(strcasecmp,(const char *, const char *));
|
|
int _EXFUN(strncasecmp,(const char *, const char *, size_t));
|
|
|
|
_END_STD_C
|
|
|
|
#endif /* _STRING_H_ */
|
|
|
|
#endif /* _STRINGS_H_ */
|