Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:15

0001 /*
0002  * Copyright (c) 2009 by
0003  * Ralf Corsépius, Ulm, Germany. All rights reserved.
0004  *
0005  * Permission to use, copy, modify, and distribute this software
0006  * is freely granted, provided that this notice is preserved.
0007  */
0008 
0009 #ifdef HAVE_CONFIG_H
0010 #include "config.h"
0011 #endif
0012 
0013 #if defined(RTEMS_NEWLIB) && !defined(HAVE_FTRYLOCKFILE)
0014 
0015 #include <stdio.h>
0016 #include <rtems/seterr.h>
0017 #include <errno.h>
0018 
0019 /* This is a non-functional stub */
0020 int ftrylockfile(FILE* file)
0021 {
0022   (void) file;
0023   rtems_set_errno_and_return_minus_one( ENOTSUP );
0024 }
0025 
0026 #endif