unistd.h (0bfd163f522701b486e066fa2e56624c02f5081a) | unistd.h (448f5f73dcc7efe69df16b6a875b0cf0c6f41ae3) |
---|---|
1/*- 2 * Copyright (c) 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 412 unchanged lines hidden (view full) --- 421 422/* See comment at ftruncate() above. */ 423#ifndef _TRUNCATE_DECLARED 424#define _TRUNCATE_DECLARED 425int truncate(const char *, off_t); 426#endif 427#endif /* __POSIX_VISIBLE >= 200809 || __XSI_VISIBLE */ 428 | 1/*- 2 * Copyright (c) 1991, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 412 unchanged lines hidden (view full) --- 421 422/* See comment at ftruncate() above. */ 423#ifndef _TRUNCATE_DECLARED 424#define _TRUNCATE_DECLARED 425int truncate(const char *, off_t); 426#endif 427#endif /* __POSIX_VISIBLE >= 200809 || __XSI_VISIBLE */ 428 |
429#if __POSIX_VISIBLE >= 200809 || __BSD_VISIBLE | 429#if __POSIX_VISIBLE >= 200809 |
430int faccessat(int, const char *, int, int); 431int fchownat(int, const char *, uid_t, gid_t, int); 432int fexecve(int, char *const [], char *const []); 433int linkat(int, const char *, int, const char *, int); 434ssize_t readlinkat(int, const char * __restrict, char * __restrict, size_t); 435int symlinkat(const char *, int, const char *); 436int unlinkat(int, const char *, int); | 430int faccessat(int, const char *, int, int); 431int fchownat(int, const char *, uid_t, gid_t, int); 432int fexecve(int, char *const [], char *const []); 433int linkat(int, const char *, int, const char *, int); 434ssize_t readlinkat(int, const char * __restrict, char * __restrict, size_t); 435int symlinkat(const char *, int, const char *); 436int unlinkat(int, const char *, int); |
437#endif /* __POSIX_VISIBLE >= 200809 || __BSD_VISIBLE */ | 437#endif /* __POSIX_VISIBLE >= 200809 */ |
438 439/* 440 * symlink() was originally in POSIX.1a, which was withdrawn after 441 * being overtaken by events (1003.1-2001). It was in XPG4.2, and of 442 * course has been in BSD since 4.2. 443 */ | 438 439/* 440 * symlink() was originally in POSIX.1a, which was withdrawn after 441 * being overtaken by events (1003.1-2001). It was in XPG4.2, and of 442 * course has been in BSD since 4.2. 443 */ |
444#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE >= 402 || __BSD_VISIBLE | 444#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE >= 402 |
445int symlink(const char * __restrict, const char * __restrict); 446#endif 447 448/* X/Open System Interfaces */ 449#if __XSI_VISIBLE 450char *crypt(const char *, const char *); 451/* char *ctermid(char *); */ /* XXX ??? */ 452int encrypt(char *, int); --- 140 unchanged lines hidden --- | 445int symlink(const char * __restrict, const char * __restrict); 446#endif 447 448/* X/Open System Interfaces */ 449#if __XSI_VISIBLE 450char *crypt(const char *, const char *); 451/* char *ctermid(char *); */ /* XXX ??? */ 452int encrypt(char *, int); --- 140 unchanged lines hidden --- |