Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/arm/truncate.c')
-rw-r--r--libgloss/arm/truncate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgloss/arm/truncate.c b/libgloss/arm/truncate.c
index d53394a67..92c0fcab3 100644
--- a/libgloss/arm/truncate.c
+++ b/libgloss/arm/truncate.c
@@ -23,10 +23,12 @@
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
+#include <errno.h>
#include <sys/types.h>
int
truncate (const char *path, off_t length)
{
+ errno = ENOSYS;
return -1;
}