#include "mathlink.h"/* transfer a string from a source link to a destination link */void f(MLINK sourcelink, MLINK destinationlink){ const unsigned char *string; int length; if(! MLGetByteString(sourcelink, &string, &length, 0)) { /* unable to get the string from sourcelink */ } if(! MLPutByteString(destinationlink, string, length)) { /* unable to put the string to destination link */ }}