1/* 2 * Copyright (c) 2007-2012, ETH Zurich. 3 * All rights reserved. 4 * 5 * This file is distributed under the terms in the attached LICENSE file. 6 * If you do not find this file, copies can be found by writing to: 7 * ETH Zurich D-INFK, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group. 8 */ 9 10#include <stdio.h> 11 12FILE *popen(const char *command, const char *type) 13{ 14 fprintf(stderr, "Warning: popen() unimplemented\n"); 15 return NULL; 16} 17 18int pclose(FILE *stream) 19{ 20 fprintf(stderr, "Warning: pclose() unimplemented\n"); 21 return -1; 22} 23 24/* 25 * Although fdopen is POSIX, we use the implementation provided by newlib. 26 * Providing an own implementation would require to include many 27 * newlib-internal headers for the FILE * type and its manipulation. 28 */ 29 30#if 0 31FILE *fdopen(int fd, const char *mode) 32{ 33 fprintf(stderr, "Warning: fdopen() unimplemented\n"); 34 return NULL; 35} 36#endif 37