mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-15 19:09:58 +08:00
d29587b478
* libc/include/string.h: Add strnlen and strerror_r prototypes. * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support. * libc/string/Makefile.in: Regenerated. * libc/string/strerror_r.c: New file. * libc/string/strnlen.c: New file. * libc/sys/linux/Makefile.am: Add rename.c. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/rename.c: New file to override default rename.
10 lines
189 B
C
10 lines
189 B
C
/* libc/sys/linux/rename.c - rename a file */
|
|
|
|
/* Copyright 2002, Red Hat Inc. */
|
|
|
|
#include <stdio.h>
|
|
#include <machine/syscall.h>
|
|
|
|
_syscall2(int,rename,const char *,old,const char *,new)
|
|
|