设置字符串类型标量的属性值。同步接口。
aclError aclopSetAttrString(aclopAttr *attr, const char *attrName, const char *attrValue)
参数名
输入/输出
说明
attr
输出
aclopAttr类型的指针。
需提前调用aclopCreateAttr接口创建aclopAttr类型。
attrName
输入
属性名的指针。
attrValue
属性值的指针。
返回0表示成功,返回非0表示失败。