openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/glib-2.0/1_2.60.3-r0/glib-2.60.3/gio/gfile.c
gboolean g_file_set_attribute_string(GFile* file, const char* attribute,
                                     const char* value,
                                     GFileQueryInfoFlags flags,
                                     GCancellable* cancellable, GError** error)
{
    return g_file_set_attribute(file, attribute, G_FILE_ATTRIBUTE_TYPE_STRING,
                                (gpointer)value, flags, cancellable, error);
}
/**
 * g_file_set_attribute_string:
 * @file: input #GFile
 * @attribute: a string containing the attribute's name
 * @value: a string containing the attribute's value
 * @flags: #GFileQueryInfoFlags
 * @cancellable: (nullable): optional #GCancellable object,
 *     %NULL to ignore
 * @error: a #GError, or %NULL
 *
 * Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_STRING to @value.
 * If @attribute is of a different type, this operation will fail.
 *
 * If @cancellable is not %NULL, then the operation can be cancelled by
 * triggering the cancellable object from another thread. If the operation
 * was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
 *
 * Returns: %TRUE if the @attribute was successfully set, %FALSE otherwise.
 */


Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_STRING to @value.
If @attribute is of a different type, this operation will fail.

If @cancellable is not %NULL, then the operation can be cancelled by
triggering the cancellable object from another thread. If the operation
was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.

%TRUE if the @attribute was successfully set, %FALSE otherwise.
Sets @attribute of type %G_FILE_ATTRIBUTE_TYPE_STRING to @value . If @attribute is of a different type this operation will fail . If @cancellable is not %NULL then the operation can be cancelled by triggering the cancellable object from another thread . If the operation was cancelled the error %G_IO_ERROR_CANCELLED will be returned . %TRUE if the @attribute was successfully set %FALSE otherwise .
gboolean g_file_set_attribute_string(GFile* file, const char* attribute,
                                     const char* value,
                                     GFileQueryInfoFlags flags,
                                     GCancellable* cancellable, GError** error)
{
    return g_file_set_attribute(file, attribute, G_FILE_ATTRIBUTE_TYPE_STRING,
                                (gpointer)value, flags, cancellable, error);
}
gboolean g_file_set_attribute_string ( GFile * file , const char * attribute , const char * value , GFileQueryInfoFlags flags , GCancellable * cancellable , GError * * error ) { return g_file_set_attribute ( file , attribute , G_FILE_ATTRIBUTE_TYPE_STRING , ( gpointer ) value , flags , cancellable , error ) ; }
g_file_set_attribute_string:
 @file: input #GFile
 @attribute: a string containing the attribute's name
 @value: a string containing the attribute's value
 @flags: #GFileQueryInfoFlags
 @cancellable: (nullable): optional #GCancellable object,
     %NULL to ignore
 @error: a #GError, or %NULL
g_file_set_attribute_string : @file : input #GFile @attribute : a string containing the attribute ' s name @value : a string containing the attribute ' s value @flags : #GFileQueryInfoFlags @cancellable : ( nullable ) : optional #GCancellable object %NULL to ignore @error : a #GError or %NULL