diff options
author | Brian Havard <bjh@apache.org> | 2009-09-09 17:43:57 +0000 |
---|---|---|
committer | Brian Havard <bjh@apache.org> | 2009-09-09 17:43:57 +0000 |
commit | 851444f65f2304778a0bce08a1161d91285b51c8 (patch) | |
tree | e45ecdd78ea42a3da9f6ff113b71be224d74958d /file_io/os2 | |
parent | ae421185c5039b318e86401d6bac31498c472380 (diff) | |
download | apr-851444f65f2304778a0bce08a1161d91285b51c8.tar.gz |
OS/2: Add "not implemented" stub for apr_file_link() as OS/2 doesn't support
links.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@813056 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/os2')
-rw-r--r-- | file_io/os2/link.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/file_io/os2/link.c b/file_io/os2/link.c new file mode 100644 index 000000000..5487df17c --- /dev/null +++ b/file_io/os2/link.c @@ -0,0 +1,23 @@ +/* Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include "apr_arch_file_io.h" + +APR_DECLARE(apr_status_t) apr_file_link(const char *from_path, const char *to_path) +{ + /* OS/2 doesn't support links */ + return APR_ENOTIMPL; +} |