os_win32_string.cpp
Go to the documentation of this file.
00001 // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
00002 
00003 // -- BEGIN LICENSE BLOCK ----------------------------------------------
00004 // This file is part of FZIs ic_workspace.
00005 //
00006 // This program is free software licensed under the LGPL
00007 // (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
00008 // You can find a copy of this license in LICENSE folder in the top
00009 // directory of the source code.
00010 //
00011 // © Copyright 2014 FZI Forschungszentrum Informatik, Karlsruhe, Germany
00012 //
00013 // -- END LICENSE BLOCK ------------------------------------------------
00014 
00015 //----------------------------------------------------------------------
00022 //----------------------------------------------------------------------
00023 #include <stdio.h>
00024 #include <string.h>
00025 
00026 #include "icl_core/os_win32_string.h"
00027 
00028 namespace icl_core {
00029 namespace os {
00030 namespace hidden_win32 {
00031 
00032 char *stpcpy(char *dst, const char *src)
00033 {
00034   char *result = strcpy(dst, src);
00035   for (; *result != 0; ++result) {}
00036   return result;
00037 }
00038 
00039 char *strdup(const char *s)
00040 {
00041   return ::_strdup(s);
00042 }
00043 
00044 int vsnprintf(char *buffer, size_t maxlen, const char *format, va_list argptr)
00045 {
00046   return ::_vsnprintf(buffer, maxlen, format, argptr);
00047 }
00048 
00049 }
00050 }
00051 }


schunk_svh_driver
Author(s): Georg Heppner
autogenerated on Fri Aug 28 2015 12:59:19