Displaying 2 results from an estimated 2 matches for "srcp".
Did you mean:
src
2005 Jan 12
3
syslinux build fails with 2.6 linux headers
...ask.h: At top level:
/usr/include/linux/cpumask.h:146: error: parse error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_complement':
/usr/include/linux/cpumask.h:149: error: `dstp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:149: error: `srcp' undeclared (first use in this function)
/usr/include/linux/cpumask.h:149: error: `nbits' undeclared (first use in this function)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:153: error: parse error before '*' token
/usr/include/linux/cpumask.h: In functi...
2004 May 29
1
[patch] Filename conversion
...+ conv_pid = -1;
+ }
+}
+
+/**
+ * Converts the filename from src into dest, using at most maxlen
+ * characters of dest.
+ **/
+void convert_fname(char *dest, const char *src, unsigned int maxlen)
+{
+ if (!fname_convert_cmd) {
+ strlcpy(dest, src, maxlen);
+ } else {
+ int res;
+ const char *srcp;
+ char *destp;
+ unsigned int srcrem, dstrem;
+
+ init_fname_convert();
+
+ /* Send and receive strings simultaneously to avoid deadlock: */
+ srcrem = strlen(src)+1; /* chars left to send (incl. terminating LF) */
+ dstrem = maxlen-1; /* free chars left in dest */
+...