[uClibc-cvs] CVS uClibc/include

CVS User andersen andersen at codepoet.org
Thu Oct 7 02:42:34 UTC 2004


Update of /var/cvs/uClibc/include
In directory nail:/tmp/cvs-serv3682

Modified Files:
	unistd.h 
Log Message:
Remove unimplemented non-SuSv3 function prototypes


--- /var/cvs/uClibc/include/unistd.h	2004/07/30 20:51:28	1.26
+++ /var/cvs/uClibc/include/unistd.h	2004/10/07 02:42:34	1.27
@@ -421,12 +421,6 @@
    that value is used.  */
 extern char *get_current_dir_name (void) __THROW;
 
-#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
-/* Put the absolute pathname of the current working directory in BUF.
-   If successful, return BUF.  If not, put an error message in
-   BUF and return NULL.  BUF should be at least PATH_MAX bytes long.  */
-extern char *getwd (char *__buf) __THROW;
-#endif
 
 
 /* Duplicate FD, returning a new file descriptor on the same file.  */
@@ -664,12 +658,6 @@
    with a terminal, zero if not.  */
 extern int isatty (int __fd) __THROW;
 
-#if defined __USE_BSD \
-    || (defined __USE_XOPEN_EXTENDED && !defined __USE_UNIX98)
-/* Return the index into the active-logins file (utmp) for
-   the controlling terminal.  */
-extern int ttyslot (void) __THROW;
-#endif
 
 
 /* Make a link to FROM named TO.  */
@@ -709,10 +697,6 @@
 extern int getlogin_r (char *__name, size_t __name_len) __THROW;
 #endif
 
-#ifdef	__USE_BSD
-/* Set the login name returned by `getlogin'.  */
-extern int setlogin (__const char *__name) __THROW;
-#endif
 
 
 #ifdef	__USE_POSIX2
@@ -754,17 +738,6 @@
    group of the control terminal.  */
 extern int vhangup (void) __THROW;
 
-/* Revoke the access of all descriptors currently open on FILE.  */
-extern int revoke (__const char *__file) __THROW;
-
-
-/* Enable statistical profiling, writing samples of the PC into at most
-   SIZE bytes of SAMPLE_BUFFER; every processor clock tick while profiling
-   is enabled, the system examines the user PC and increments
-   SAMPLE_BUFFER[((PC - OFFSET) / 2) * SCALE / 65536].  If SCALE is zero,
-   disable profiling.  Returns zero on success, -1 on error.  */
-extern int profil (unsigned short int *__sample_buffer, size_t __size,
-		   size_t __offset, unsigned int __scale) __THROW;
 
 
 /* Turn accounting on if NAME is an existing file.  The system will then write



More information about the uClibc-cvs mailing list