source:
rtems/testsuites/libtests/POSIX/ftrylockfile.c
@
87fbcc5e
Last change on this file since 87fbcc5e was 87fbcc5e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/11/10 at 16:44:20 | |
---|---|
|
|
File size: 324 bytes |
Line | |
---|---|
1 | /* |
2 | * Copyright (c) 2009 by |
3 | * Ralf Corsépius, Ulm, Germany. All rights reserved. |
4 | * |
5 | * Permission to use, copy, modify, and distribute this software |
6 | * is freely granted, provided that this notice is preserved. |
7 | */ |
8 | |
9 | #include <stdio.h> |
10 | |
11 | int main(void) |
12 | { |
13 | FILE *file = NULL; |
14 | int ret = ftrylockfile(file); |
15 | return ret; |
16 | } |
Note: See TracBrowser
for help on using the repository browser.