summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/posix.sgml
Commit message (Collapse)AuthorAgeFilesLines
* * cygwin.din: Export wordexp, wordfree.Corinna Vinschen2009-03-231-2/+2
| | | | | * posix.sgml: Move them to SUSv4 list. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export log2, log2f as functions.Corinna Vinschen2009-03-191-0/+2
| | | | | * posix.sgml: Add them to SUSv4 list. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export wcsdup.Corinna Vinschen2009-03-151-0/+1
| | | | | * posix.sgml: Add wcsdup to SUSv4 list. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export wcscasecmp, wcsncasecmp.Corinna Vinschen2009-03-111-2/+2
| | | | | * posix.sgml: Move wcscasecmp, wcsncasecmp to SUSv4 list. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export wscanf, fwscanf, swscanf, vwscanf, vfwscanf,Corinna Vinschen2009-03-111-6/+6
| | | | | | | vswscanf. * posix.sgml: Move fwscanf, swscanf, vwscanf, vfwscanf, vswscanf to SUSv4 list. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export wcsftime.Corinna Vinschen2009-03-091-1/+1
| | | | | * posix.sgml: Move wcsftime to SUSv4 list. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export gethostbyname2.Corinna Vinschen2009-03-061-0/+1
| | | | | | | | | | | | | | | | * net.cc: define _CYGWIN_IN_H and include resolv.h. (realloc_ent): New function. (dup_ent): Call realloc_ent. (memcpy4to6): New function. (dn_length1): New function. (gethostby_helper): New function. (gethostbyname2): New function. * posix.sgml: Add gethostbyname2. * include/cygwin/version.h: Bump API minor number. * libc/minires.c (get_options): Look for "inet6" and apply bounds to "retry" and "retrans". (res_ninit): Set the default options at the beginning. (dn_expand): Fix "off by one".
* * cygwin.din: Export wprintf, fwprintf, swprintf, vwprintf, vfwprintf,Corinna Vinschen2009-03-061-14/+14
| | | | | | | vswprintf. Sort. * posix.sgml: Move fwprintf, swprintf, vwprintf, vfwprintf, vswprintf to SUSv4 list. Sort SUSv4 list. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export mbsnrtowcs and wcsnrtombs.Corinna Vinschen2009-02-191-2/+2
| | | | | * posix.sgml: Move mbsnrtowcs and wcsnrtombs to SUSv4 section. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export open_wmemstream.Corinna Vinschen2009-02-181-1/+1
| | | | | * posix.sgml: Move open_wmemstream to SUSv4 section. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export reallocf.Corinna Vinschen2009-02-161-0/+1
| | | | | | | * malloc_wrapper.cc( reallocf): New function. * posix.sgml: Add reallocf to BSD section. * include/cygwin/version.h: Bump API minor number. * libc/fts.c: Remove erroneous reallocf definition.
* * cygwin.din: Export wcstoimax, wcstoumax.Corinna Vinschen2009-02-161-2/+2
| | | | | | * posix.sgml: Move wcstoimax and wcstoumax to SUSv4 section. * include/inttypes.h: Declare wcstoimax and wcstoumax. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export wcsnlen.Corinna Vinschen2009-02-131-1/+1
| | | | | * posix.sgml: Move wcsnlen to SUSv4 section. * include/cygwin/version.h: Bump API minor number.
* * posix.sgml: Move dirfd to SUSv4 section.Corinna Vinschen2009-02-131-1/+1
|
* * posix.sgml: Move interfaces deprecated in SUSv4 to deprecatedCorinna Vinschen2009-02-131-46/+94
| | | | | | interfaces section. Move interfaces added in SUSv4 to SUSv4 section or, if unimplemented, add them to the unimplemented interfaces section.
* * posix.sgml: Merge SUSv3 and SUSv4 section into a single SUSv4 section.Corinna Vinschen2009-02-131-29/+25
| | | | | | Move Solaris calls now in SUSv4 to SUSv4 section. Rename unimplemented section to refer to SUSv4. Add note about missing interfaces. Move wcstod and wcstof from unimplemented to SUSv4 section.
* * cygwin.din: Export wcstok.Corinna Vinschen2009-02-051-1/+1
| | | | | * posix.sgml: Move wcstok from unimplemented to susv3. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export fgetwc, fgetws, fputwc, fputws, fwide, getwc,Corinna Vinschen2008-12-151-7/+10
| | | | | | | getwchar, putwc, putwchar, ungetwc. * posix.sgml: Move above functions (add missing) into "implemented SUSv3" section. * include/cygwin/version.h: Bump api minor number.
* * flock.cc (inode_t::get_all_locks_list): Fix typo.Corinna Vinschen2008-09-291-0/+1
| | | | * posix.sgml: Add cfmakeraw to list of implemented BSD functions.
* * cygwin.din (futimens): Export.Corinna Vinschen2008-04-241-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | (utimensat): Export. * fhandler.cc (fhandler_base::utimens): Replace fhandler_base::utimes. Call utimens_fs. * fhandler.h (class fhandler_base): Declare utimens_fs instead of utimes_fs, utimens instead of utimes. (class fhandler_disk_file): Declare utimens instead of utimes. * fhandler_disk_file.cc (fhandler_disk_file::utimens): Replace fhandler_disk_file::utimes. (fhandler_base::utimens_fs): Replace fhandler_base::utimes_fs. Implement tv_nsec handling according to SUSv4. * syscalls.cc (utimensat): New function. * times.cc (timespec_to_filetime): New function. (timeval_to_timespec): New function. (utimens_worker): Replace utimes_worker. (utimes): Convert timeval to timespec and call utimens_worker. (lutimes): Ditto. (futimens): Take over implementation from futimes. (futimes): Convert timeval to timespec and call futimens. * winsup.h (timespec_to_filetime): Declare. * include/cygwin/version.h: Bump API minor number. * posix.sgml: Add SUSv4 section. Add futimens and utimensat to it.
* * posix.sgml: Add openat, faccessat, fchmodat, fchownat, fstatat,Corinna Vinschen2008-04-231-0/+16
| | | | | futimesat, linkat, mkdirat, mkfifoat, mknodat, readlinkat, renameat, symlinkat, unlinkat to list of implemented Solaris functions.
* * posix.sgml: Change lockf to being implemented.Corinna Vinschen2008-04-021-1/+1
|
* Perform whitespace cleanup throughout.Christopher Faylor2008-02-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * posix.sgml: Move llrint, llrintf, llrintl, lrintl, rintl, wcstol,Corinna Vinschen2008-02-131-11/+25
| | | | | | | | | wcstoll, wcstoul, wcstoull, wcsxfrm from unimplemented to implemented POSIX interfaces. Change headline of "GNU extensions" to "GNU and Linux extensions". Add fgetxattr, flistxattr, fremovexattr, fsetxattr, getxattr, lgetxattr, listxattr, llistxattr, lremovexattr, lsetxattr, removexattr, setxattr, wcpcpy and wcpncpy to list of implemented GNU functions.
* * cygwin.din: Export fdopendir.Corinna Vinschen2007-06-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * dir.cc (opendir): Call fhandler's opendir with fd set to -1. (fdopendir): New function. (seekdir64): Use dirent_info_mask. (rewinddir): Ditto. (closedir): Only release underlying file descriptor if it has been reserved by opendir itself. * fhandler.cc (fhandler_base::opendir): Accommodate new parameter. * fhandler.h (dirent_states): Add dirent_valid_fd and dirent_info_mask. (fhander_XXX::opendir): Add file descriptor parameter. Use regparms. (fhandler_procnet::opendir): Drop declaration. * fhandler_disk_file.cc (fhandler_disk_file::opendir): Ditto. If called from fdopendir, use existing handle to re-open directory with valid flags. Rename fd to cfd. Use only if no valid incoming fd. (fhandler_cygdrive::opendir): Accommodate new parameter. * fhandler_process.cc (fhandler_process::opendir): Ditto. * fhandler_procnet.cc (fhandler_procnet::opendir): Drop definition. * fhandler_virtual.cc (fhandler_virtual::opendir): Accommodate new parameter. Only create new file descriptor entry if called from opendir. Remove duplicated setting of dir->__flags. * posix.sgml: Add fdopendir to list of implemented Solaris functions. * include/cygwin/version.h: Bump API minor number. * include/sys/dirent.h: Declare fdopendir.
* * cygwin.din: Export stpcpy, stpncpy.Corinna Vinschen2007-06-281-0/+2
| | | | | | * posix.sgml: Add stpcpy and stpncpy to list of implemented GNU extensions. * include/cygwin/version.h: Bump API minor number.
* * autoload.cc (WSAIoctl): Remove.Corinna Vinschen2007-06-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | * cygwin.din: Export freeifaddrs, getifaddrs. * fhandler_socket.cc (fhandler_socket::ioctl): Drop SOCKET parameter from get_ifconf. * net.cc: Include ifaddrs.h. (in_are_prefix_equal): Match addresses in network byte order. (ip_addr_prefix): Convert address into host byte order before testing with IN_LOOPBACK. (struct ifall): Define. (get_xp_ifs): Replace get_xp_ifconf. Return struct ifall array. (get_2k_ifs): Ditto, replace get_2k_ifconf. (get_nt_ifs): Ditto, replace get_nt_ifconf. (getifaddrs): New function. (freeifaddrs): New function. (get_ifconf): Call matching get_XX_ifs function and create ifc content from here. Drop lo fake since it's now in get_nt_ifs. * posix.sgml: Add freeifaddrs and getifaddrs to list of implemented BSD functions. * wincap.h (wincapc::has_broken_if_oper_status): New element. * wincap.cc: Implement above element throughout. * include/ifaddrs.h: New file. * include/cygwin/version.h: Bump API minor number.
* * cygwin.din: Export exp10, exp10f, pow10, pow10f, strcasestr,Corinna Vinschen2007-06-211-12/+28
| | | | | | funopen, fopencookie. * include/cygwin/version.h: Bump API minor number. * posix.sgml: Minor improvements.
* * Makefile.in (DLL_OFILES): Add xsique.o.Corinna Vinschen2007-06-121-2/+2
| | | | | | | | | | | | | | | * cygwin.din (confstr): Make NOSIGFE. (insque): Export. (remque): Export. * lsearch.cc: Remove superfluous _SEARCH_PRIVATE define. * posix.sgml: Move insque to defined SUSv3 interfaces. Remove comment for remque. * include/search.h: Remove _SEARCH_PRIVATE guarded definitions. Add struct qelem definition. Add insque and remque declarations. * include/cygwin/version.h: Bump API minor number. * include/sys/queue.h: Remove insque/remque definitions so as not to collide with SUSv3 compatible declaration in search.h. * libc/xsique.cc: New file implementing insque and remque.
* * cygwin.din (confstr): Export.Corinna Vinschen2007-06-111-1/+1
| | | | | | * posix.sgml (confstr): Move to list of implemented SUSv3 functions. * sysconf.cc (confstr): Implement. * include/cygwin/version.h: Bump API minor number.
* * ansi.sgml: Delete.Corinna Vinschen2007-06-051-68/+1265
| | | | | * misc-std.sgml: Delete. * posix.sgml: Rework entirely.
* clean up SGML for latest version of jade/docbookDJ Delorie2000-04-191-2/+12
|
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+88